File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 2525* [ What changed since two weeks?] ( https://github.com/git-tips/tips#what-changed-since-two-weeks )
2626* [ Pick commits across branches using cherry-pick] ( https://github.com/git-tips/tips#pick-commits-across-branches-using-cherry-pick )
2727* [ Find out branches containing commit-hash] ( https://github.com/git-tips/tips#find-out-branches-containing-commit-hash )
28+ * [ Git Aliases] ( https://github.com/git-tips/tips#git-aliases )
2829
2930<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
3031<!-- @doxie.inject end toc -->
@@ -154,5 +155,11 @@ __Alternatives:__
154155git branch --contains < commit-ish>
155156```
156157
158+ ## Git Aliases
159+ ``` sh
160+ git config --global alias.< handle> < command>
161+ git config --global alias.st status
162+ ```
163+
157164<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
158165<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 8888 "title" : " Find out branches containing commit-hash" ,
8989 "tip" : " git branch -a --contains <commit-ish>" ,
9090 "alternatives" : [" git branch --contains <commit-ish>" ]
91+ },
92+ {
93+ "title" : " Git Aliases" ,
94+ "tip" : " git config --global alias.<handle> <command> \n git config --global alias.st status"
9195 }
9296]
You can’t perform that action at this time.
0 commit comments