diff options
Diffstat (limited to 'files/.gitconfig')
| -rw-r--r-- | files/.gitconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/files/.gitconfig b/files/.gitconfig index e657f8f..b88d000 100644 --- a/files/.gitconfig +++ b/files/.gitconfig @@ -33,7 +33,10 @@ ka = !sh -c 'gitk --all' - kb = !sh -c 'gitk --branches' - lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative + l = "!git lg -10" + f = !sh -c 'git branch | grep -F "feature/$1" | xargs -r -n 1 git co' - st = status + stashlist = stash list --date=short addnw = !sh -c 'git diff --unified=0 --ignore-all-space --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -' branch-name = "!git rev-parse --abbrev-ref HEAD" publish = "!git push -u origin $(git branch-name)" |
