Skip to content

Git Clone Pull Fetch Repository

Kenneth Kasajian edited this page Aug 8, 2014 · 5 revisions
git clone https://github.com/kasajian/kasajian.github.io.wiki.git
To get latest after it's already been cloned:
 git pull
To update the local repository (but not working files):
 git fetch

######git pull is the same as:

git fetch
git merge origin/master
To rebase instead of merge during a pull:
 git pull --rebase

References