An example: So far, you have only committed to your own branch in your own (local) clone of the repository.
To /tmp/test/server d70e083..205be70 master -/tmp/test/local$ git branch master * our_branch /tmp/test/local$ git checkout master Switched to branch 'master' /tmp/test/local$ git pull remote: Counting objects: 5, done.
remote: Total 3 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (3/3), done.
From /tmp/test/server * [new branch] master -/tmp/test/local$ git branch * master /tmp/test/local$ git branch our_branch /tmp/test/local$ git branch * master our_branch /tmp/test/local$ git checkout our_branch Switched to branch 'our_branch' /tmp/test/local$ git branch master * our_branch /tmp/test/local$ /tmp/test/local$ touch new_file_in_branch /tmp/test/local$ git add ./new_file_in_branch /tmp/test/local$ git commit -am "new file in branch" [our_branch ffd16bd] new file in branch 0 files changed, 0 insertions( ), 0 deletions(-) create mode 100644 new_file_in_branch /tmp/test/local$ ls new_file_in_branch readme /tmp/test/local$ git checkout master Switched to branch 'master' /tmp/test/local$ ls readme /tmp/test/local$ git checkout our_branch Switched to branch 'our_branch' /tmp/test/local$ We could see that file know exists in our branch but doesn’t exist in master branch At first we will change something on server – while we were doing something in branch server version could be changed!
This documentation was written to describe the 1.7.x series of Apache™ Subversion®.
If you are running a different version of Subversion, you are strongly encouraged to visit and instead consult the version of this documentation appropriate for your version of Subversion.