Create aliases to change to git root
This commit is contained in:
parent
a1397f2027
commit
437057a1f8
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
hist-details = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
|
||||
hist-tags = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
|
||||
most-recent-by-branch = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
|
||||
root = rev-parse --show-toplevel
|
||||
|
||||
[commit]
|
||||
gpgsign = true
|
||||
|
|
|
@ -11,6 +11,7 @@ alias ber="bundle exec rake"
|
|||
alias bet="test-rails"
|
||||
alias c="clear"
|
||||
alias cs="toggle-color-mode"
|
||||
alias cdr="cd $(git root)"
|
||||
alias dc="docker-compose-call"
|
||||
alias g="g" # overwrite g alias
|
||||
alias ga="git add"
|
||||
|
|
Loading…
Reference in a new issue