User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_aliases [2019/02/17 14:13]
rpjday [Recursive Git aliases]
git_aliases [2019/02/25 13:15]
rpjday [How to set a shell-style Git alias]
Line 42: Line 42:
 <​code>​ <​code>​
-$ git blm+$ git bm
 </​code>​ </​code>​
 ==== Aliases in the .gitconfig file ==== ==== Aliases in the .gitconfig file ====
Line 61: Line 60:
 </​code>​ </​code>​
-==== How to unset Git aliases ====+===== How to unset Git aliases ​=====
 <​code>​ <​code>​
Line 73: Line 72:
 $ git alias bu "!git rev-parse --abbrev-ref --symbolic-full-name "​@{u}""​ $ git alias bu "!git rev-parse --abbrev-ref --symbolic-full-name "​@{u}""​
 </​code>​ </​code>​
 +The shell command being run does not have to be ''​git''​.
git_aliases.txt ยท Last modified: 2019/02/25 13:15 by rpjday