Check if the change was a part of a release.

This commit is contained in:
Hemanth.HM 2016-02-02 18:36:01 +05:30
parent f8d2278bd0
commit 7e6c5f71b2
2 changed files with 9 additions and 0 deletions

View File

@ -79,6 +79,7 @@
* [List all the alias and configs.](https://github.com/git-tips/tips#list-all-the-alias-and-configs)
* [Make git case sensitive.](https://github.com/git-tips/tips#make-git-case-sensitive)
* [Auto correct typos.](https://github.com/git-tips/tips#auto-correct-typos)
* [Check if the change was a part of a release.](https://github.com/git-tips/tips#check-if-the-change-was-a-part-of-a-release)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -545,5 +546,10 @@ git config --global core.ignorecase false
git config --global help.autocorrect 1
```
## Check if the change was a part of a release.
```sh
git name-rev --name-only <SHA-1>
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

@ -240,4 +240,7 @@
}, {
"title": "Auto correct typos.",
"tip": "git config --global help.autocorrect 1"
}, {
"title": "Check if the change was a part of a release.",
"tip": "git name-rev --name-only <SHA-1>"
}]