git-tutorial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
git-tutorial [2012/12/29 23:35] – smilauer | git-tutorial [2012/12/29 23:43] – smilauer | ||
---|---|---|---|
Line 131: | Line 131: | ||
Note: when a repository is cloned, git automatically creates a master branch that tracks origin/ | Note: when a repository is cloned, git automatically creates a master branch that tracks origin/ | ||
- | If you already have oofem.git directory from a previous time, you can update | + | If you already have oofem.git directory from a previous time, you can update '' |
- | $ git fetch origin | + | |
- | $ git checkout | + | $ git checkout master |
- | $ git merge origin/ | + | $ git pull --rebase |
Normally, we do not want to modify '' | Normally, we do not want to modify '' |
git-tutorial.txt · Last modified: 2017/11/01 09:08 by bp