84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
为什么我在git中总是会把别人的代码再提交一遍??
Before pushing your own code to the remote end, first pull the latest code from the remote end to the local end. If there is a conflict, resolve the conflict and then push it to the remote end.
It may be because someone else submitted it before you, so after you submit it, you will merge other people's code with your own and submit it again.
Be sure to fetch or pull before each submission
Pull before pushing to resolve merge conflicts
Before pushing your own code to the remote end, first pull the latest code from the remote end to the local end. If there is a conflict, resolve the conflict and then push it to the remote end.
It may be because someone else submitted it before you, so after you submit it, you will merge other people's code with your own and submit it again.
Be sure to fetch or pull before each submission
Pull before pushing to resolve merge conflicts