AndroidStudio上傳代碼到gitee
1.註冊gitee
既然要使用gitee,那就要先註冊gitee的賬號,鏈接如下:
2.下載git並配置
http://npm.taobao.org/mirrors/git-for-windows/v2.27.0.windows.1/
按照默認提示按照即可,如下表示安裝成功。
打開git-cmd.exe,Git 全局設置如下:
git config --global user.name "用戶名"
git config --global user.email "郵箱"
接下來需要配置一下AndroidStudio,選擇git.exe的位置。
3. 將項目上傳到gitee
下載gitee插件,如下所示:
輸入gitee賬號和密碼,如下所示: