🐛 Fix gwip function
This commit is contained in:
parent
fc242d841e
commit
c9d2adb5d5
1 changed files with 4 additions and 4 deletions
|
@ -158,10 +158,10 @@ abbr -a gstas --position command "git stash show --text"
|
|||
function gwip
|
||||
git add -A
|
||||
git rm (git ls-files --deleted) 2> /dev/null
|
||||
git commit -- -no-verify --no-gpg-sign --message "🚧 --wip-- [skip ci]"
|
||||
git commit --no-verify --no-gpg-sign --message "🚧 --wip-- [skip ci]"
|
||||
end
|
||||
|
||||
function unwip
|
||||
function gunwip
|
||||
git rev-list --max-count=1 --format="%s" HEAD | \
|
||||
grep -q "🚧 --wip-- [skip ci]" \
|
||||
&& git reset HEAD~1
|
||||
|
|
Loading…
Reference in a new issue