Reputation: 5859
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
Upvotes: 0
Views: 48
Reputation: 14843
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.
Upvotes: 1