1
0
mirror of https://github.com/k88hudson/git-flight-rules.git synced 2025-03-10 12:48:43 -03:00

Adds a few useful git aliases (#258)

Addresses #225
This commit is contained in:
Timo Sand 2018-11-29 17:28:21 +01:00 committed by Richard Littauer
parent c9cfb71843
commit 9d16c95ee1

View File

@ -1518,6 +1518,8 @@ On OS X and Linux, your git configuration file is stored in ```~/.gitconfig```.
wc = whatchanged
wip = rebase -i @{u}
zap = fetch -p
day = log --reverse --no-merges --branches=* --date=local --since=midnight --author=\"$(git config --get user.name)\"
delete-merged-branches = "!f() { git checkout --quiet master && git branch --merged | grep --invert-match '\\*' | xargs -n 1 git branch --delete; git checkout --quiet @{-1}; }; f"
```
### I want to add an empty directory to my repository