✨ Add WIP commit aliases
This commit is contained in:
parent
7b889a5bfe
commit
fca3768cb0
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ alias gstap="git stash pop" # retrieve changes
|
|||
alias gstal="git stash list" # list stashes
|
||||
alias gstas="git stash show --text" # --text treats all files as text
|
||||
|
||||
alias gwip='git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign --message "🚧 --wip-- [skip ci]"'
|
||||
alias gunwip='git rev-list --max-count=1 --format="%s" HEAD | grep -q "\🚧 --wip--" && git reset HEAD~1'
|
||||
|
||||
alias gcl="git clean -f" # remove unknown (untracked and unignored) files
|
||||
alias gcldr="git clean --dry-run"
|
||||
|
||||
|
|
Loading…
Reference in a new issue