Skip to content

Commit

Permalink
chore: implement alias for wip (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Feb 2, 2024
1 parent f6e66ac commit a548156
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ alias gcotb='git checkout --track -b'
alias glog='git log'
alias glogp='git log --pretty=format:"%h %s" --graph'

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'


# Git Flow

alias gf='git flow'
alias gfr='git flow release'
alias gfh='git flow hotfix'
alias gfh='git flow hotfix'

0 comments on commit a548156

Please sign in to comment.