I was working on a project that I had cloned from gitHub
, but while I was making changes to my copy, someone already pushed changes to the remote repo.
What should I do now ? How do I push
my changes to the remote
repo?
I am new to gitHub and git .
Thanks
Do a git pull --rebase
to pull in the changes from the remote repo. Then you can push your changes to the remote repo, provided you do not get a merge conflict.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.