git-tutorial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
git-tutorial [2012/12/29 23:14] – smilauer | git-tutorial [2014/01/23 18:46] – nitramkaroh | ||
---|---|---|---|
Line 85: | Line 85: | ||
==== Viewing the Commit History ==== | ==== Viewing the Commit History ==== | ||
- | You can show the history of commits in the current branch using gil log command | + | You can show the history of commits in the current branch using git log command |
git log | git log | ||
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 merge origin/ | + | $ git checkout |
+ | $ 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