如何从Android Studio提交对现有存储库的更改?

时间:2020-10-26 06:44:22

标签: android git android-studio github

我已经在Github上共享了我的android项目。但是后来我不得不进行一些更改,现在如何将这些更改提交到相同的现有存储库中?

2 个答案:

答案 0 :(得分:1)

首先查看打开底部android Studio中名为“版本控制”的标签

然后通过右键单击提交更改列表(如下图所示),然后单击“提交文件...”。

enter image description here

然后将更改列表提交并推送到存储库中

enter image description here

答案 1 :(得分:0)

创建分支并进行更改,然后推送到母版,是更安全的。 Click on bottom of the right corner(master)->New branch->Branch name->Create

下一个VCS-> Git->提交并进行提交。 然后您可以将分支推送到gitHub VCS-> Git->推送