Square-root Square-root - 1 year ago 87
Git Question

Pulling a remote repo that has same branch name as local?

So if I have a local branch called

and then someone else
publishes a remote branch in GitHub that has the same name
. What happens if I try to:

pull --rebase origin master

Will it overwrite it?

Answer Source

no, you'd just be rebasing your local animal from origin master. you will only have trouble when trying to push your animal to the same origin (branch already exists).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download