Skip to content

Instantly share code, notes, and snippets.

@hugodias
Last active August 9, 2017 16:30
Show Gist options
  • Select an option

  • Save hugodias/c9c7617cf09010fe34dfd51b48d16497 to your computer and use it in GitHub Desktop.

Select an option

Save hugodias/c9c7617cf09010fe34dfd51b48d16497 to your computer and use it in GitHub Desktop.
Work in progress commits in 9 different languages
wip() {
OPTIONS=("Lucrează în desfășurare" "Đang làm việc" "進行中の作業" "radovi u tijeku" "работа в процессе" "Travaux en cours" "Ntchito ikupitirira")
RAND=$((1 + $RANDOM % 7));
SELECTED=${OPTIONS[$RAND]};
git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify -m "--$SELECTED-- [skip ci]"
}
alias wip=wip()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment