gituto/doc/pull.org

937 B

Get (pull) changes from 'origin' repository

git pull is used to bring the changes in remote repository to the local one

   git pull

When multiple users are working in the same file, some decisions should be made. If you are working on different branches, those changes can be integrated using rebase or merge

Local changes can be "rebased", thus, the last change in the file is included at the top of the branch

  git pull --rebase
  git pull --merge

Or just:

  git merge

Please read more about merge and rebase before using these commands in a working git repository.