Reputation: 73235
I am having some difficulty figuring out which Bazaar commands to use...
Suppose I have a local branch named "test" in a folder of the same name:
cd test bzr pull lp:project_name
bzr commit -m "message"
I have no trouble with those commands.
Here is where I get confused:
bzr push
but doesn't that overwrite other contributors' changes?bzr pull
, but doesn't that overwrite my changes?What are the proper commands in each case?
Upvotes: 0
Views: 140
Reputation: 13258
bzr push
won't overwrite other changes. It already someone else has pushed it changes it will stop and tell you that you need to merge first. So basically you can only push when you have included the changes from the push-location.
Similar with bzr pull
it takes from the location. However you already local work committed, it will stop and ask you to use bzr merge
.
Upvotes: 1