Browse Source

git: aliases: ++git-recall

Maxim Likhachev 6 years ago
parent
commit
3dbf71ab3a
  1. 2
      etc/soft/git/gitconfig

2
etc/soft/git/gitconfig

@ -51,6 +51,8 @@ @@ -51,6 +51,8 @@
ll = !git --no-pager log -1 HEAD && echo
lu = !git --no-pager log --left-right --pretty=format:'%C(yellow)%h%Creset - %Cgreen[%cd]%Creset :: %s %C(bold blue)%Creset' --abbrev-commit --graph --color --date=short origin/master...HEAD | nl
recall = !git-recall
alias = !sh -c '[ ! -z $2 ] && git config --global alias.\"$1\" \"$2\" && exit 0 || echo \"usage: git alias <new alias> <original command>\" >&2 && exit 1' -
aliases = !git config --get-regexp 'alias.*' | sed 's/alias.//' | sed 's/ / = /'

Loading…
Cancel
Save