Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https: //blog.csdn.net/Snow_loveLife/article/details/80519998
First, before the operation must see the branch! !
Secondly, before submitting the code must first update the code! !
View current branch git branch -----
git pull ----- update code to a local
Submit code:
1, modify the appropriate file (or files replace old and new) in the local
2, git add ** / ** / file name (file modify the path)
(Note that the path to write on)
3, git status ---- view the current local file information
4, git commit -m "change information Remarks"
5, git push -------- submitted code to the current branch
(I usually look at commit state before git push: git status)
Git submit this code to complete it!