git:git_rev-parse
Differences
This shows you the differences between two versions of the page.
git:git_rev-parse [2016/11/22 09:38] – created peter | git:git_rev-parse [2019/11/29 15:09] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== GIT - git rev-parse ====== | ||
- | |||
- | To find out which commit object a tag or branch points to. | ||
- | |||
- | <code bash> | ||
- | git branch | ||
- | * master | ||
- | new-feature | ||
- | |||
- | git tag | ||
- | v1.0 | ||
- | |||
- | git rev-parse new-feature | ||
- | c8d2325b3f06e139f6dea0dccbfac8062184ddf6 | ||
- | |||
- | git rev-parse v1.0 | ||
- | 52dfb067b89915668361f7f30fca92fd48fa8f2c | ||
- | </ | ||
git/git_rev-parse.1479807522.txt.gz · Last modified: 2020/07/15 09:30 (external edit)