git:git_chectsheet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
git:git_chectsheet [2011/10/05 10:45] – deva | git:git_chectsheet [2012/08/01 12:48] (current) – removed deva | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====List current status (including changes) in repo==== | ||
- | < | ||
- | ====List files in repo==== | ||
- | < | ||
- | |||
- | ====List deleted files in repo==== | ||
- | < | ||
- | |||
- | ====Undelete file==== | ||
- | < | ||
- | |||
- | ====Undelete all deleted files==== | ||
- | < | ||
- | |||
- | ====Mark conflict as resolved==== | ||
- | '' | ||
- | < | ||
- | |||
- | ====Turn off pager==== | ||
- | < | ||
- | Run < | ||
- | Alternatively set '' | ||
- | |||
- | |||
- | |||
- | ====Tags==== | ||
- | ===Create=== | ||
- | < | ||
- | git tag -a v1.4 -m ' | ||
- | </ | ||
- | |||
- | ===List=== | ||
- | All: | ||
- | < | ||
- | git tag | ||
- | </ | ||
- | Or filtered: | ||
- | < | ||
- | git tag -l v1.* | ||
- | </ | ||
- | |||
- | ===Show=== | ||
- | < | ||
- | git show v1.4 | ||
- | </ | ||
- | |||
- | ===Push=== | ||
- | By default, the ‘git push’ command will not transfer tags to remote servers. To do so, you have to explicitly add a –-tags to the ‘git push’ command. |
git/git_chectsheet.1317804319.txt.gz · Last modified: 2011/10/05 10:45 by deva