Android--第五天_git的使用。

关于git的命令和使用,网上有许多教程了,这里只说下我的操作。

1. 打开android studio, create a new project.

2. Create git repository(本地), 指定到本地repository目录。

3.在github上创建remote repository.

4. Ctrl + Shift +K 打开VCS -> git -> push 菜单,define remote git path, 输入git repository https url.

5. push all the files to git hub.

如果因为墙的问题,出现“RPC failed; curl 56 Recv failure...” 错误,请cmd,然后以下命令后,重新push。

git config --global http.postBuffer 524288000

git config --global core.compression -1  

参考 :https://blog.csdn.net/qq_34121797/article/details/79561110

猜你喜欢

转载自blog.csdn.net/zhong0591/article/details/81330789