dotfiles/fish/functions/gwip.fish
2022-11-27 14:20:25 +08:00

7 lines
300 B
Fish

# Work In Progress (wip)
# These features allow to pause a branch development and switch to another one
# When you want to go back to work, just unwip it
#
function gwip -d "git commit a work-in-progress branch"
git add -A; git rm (git ls-files --deleted) 2> /dev/null; git commit -m "--wip--"
end