Skip to content

Instantly share code, notes, and snippets.

@faizzed
Created January 12, 2020 09:36
Show Gist options
  • Save faizzed/d2b681cc9308a8e5ce05be878c3e2d2a to your computer and use it in GitHub Desktop.
Save faizzed/d2b681cc9308a8e5ce05be878c3e2d2a to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
if [ "$1" == "" ]; then
printf "Can not commit with out a message. exiting!\n"
exit
fi
git add -A && git commit -m "$1";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment