Android Studio项目提交(或更新)到github的方法

Android Studio项目提交(或更新)到github的方法

 

Android Studio项目提交(或更新)到github的方法

 

二 上传工程到github

1.

Android Studio项目提交(或更新)到github的方法

 

2.

Android Studio项目提交(或更新)到github的方法

点击Share按钮

3.

Android Studio项目提交(或更新)到github的方法

点击ok按钮

 

状态栏提示:

Android Studio项目提交(或更新)到github的方法

 

4.

Android Studio项目提交(或更新)到github的方法

点击 No 按钮

5.AS右下脚弹出提示框

Android Studio项目提交(或更新)到github的方法

 

查看github网站,已经推送上去了:

Android Studio项目提交(或更新)到github的方法

 

三 新增文件或修改文件时,推送到github的过程

 

当新增文件时,直接弹出 "Add files to Git"对话框,用红色标记新增的文件

Android Studio项目提交(或更新)到github的方法

如果不点击ok按钮,而点击了Cancel按钮,则也会用红色标记新增的文件

Android Studio项目提交(或更新)到github的方法

 

切换到本地的工作控件,也能看到修改:

Android Studio项目提交(或更新)到github的方法

 

git add 操作:

Android Studio项目提交(或更新)到github的方法

 

git add 完所有新增的或修改的文件后,执行git commit操作

Android Studio项目提交(或更新)到github的方法

跳转到 Commit Changes 界面,会列出已经变动的文件(包含已经git add和没有git add的文件):

Android Studio项目提交(或更新)到github的方法

 

点击commit按钮,然后执行git push操作:

Android Studio项目提交(或更新)到github的方法

Android Studio项目提交(或更新)到github的方法

 

点击push按钮,状态栏显示:

Android Studio项目提交(或更新)到github的方法

 

git push成功,弹出提示:

Android Studio项目提交(或更新)到github的方法

 

 打开github网站,查看已经推送上去了:

Android Studio项目提交(或更新)到github的方法

 

相关文章:

  • 2021-12-23
  • 2021-07-25
  • 2021-06-23
  • 2021-12-04
  • 2021-05-17
  • 2021-10-26
猜你喜欢
  • 2021-11-06
  • 2021-10-06
  • 2021-07-24
  • 2021-09-05
  • 2021-04-09
  • 2021-07-29
  • 2022-01-04
相关资源
相似解决方案