Quantcast
Viewing all articles
Browse latest Browse all 5189

Up Your Git #Game With Advanced Git Aliases

If the last commit message already was “WIP”, amend this commit instead: #!/usr/bin/env bash git add -A if [ "$(git log -1 --pretty=%B)" = "WIP" ]; then git commit --amend --no-edit else git commit -m "WIP" fi And its friend, git-unwip that undo the ...

Viewing all articles
Browse latest Browse all 5189

Trending Articles