As a programmer, your method is a bit low. It is recommended to take a look at the git tutorial. There are only a few commonly used commands that are not very complicated. If it doesn’t work, you can use the git version of Little Turtle (if you don’t know the git tool of the graphical interface, check Baidu) Always remember that git is three files (local - local) Hidden files.git--remote warehouse) Back to the topic, first pull, then add, then commit and finally push. I will give you a summary of git commands later
As a programmer, your method is a bit low. It is recommended to take a look at the git tutorial. There are only a few commonly used commands that are not very complicated. If it doesn’t work, you can use the git version of Little Turtle (if you don’t know the git tool of the graphical interface, check Baidu)
Always remember that git is three files (local - local) Hidden files.git--remote warehouse)
Back to the topic, first pull, then add, then commit and finally push. I will give you a summary of git commands later
You can refer to this article to practice
http://blog.jobbole.com/88955/
Your method is too inefficient.
I usually do git commit -a -m "xxxxxx"
and then push it.