Skip to content

Instantly share code, notes, and snippets.

@brianfoody
Created February 15, 2023 03:04
Show Gist options
  • Save brianfoody/6b01a4561abbfe17ffa5a5cb495402ec to your computer and use it in GitHub Desktop.
Save brianfoody/6b01a4561abbfe17ffa5a5cb495402ec to your computer and use it in GitHub Desktop.
gitc
# gitc "Fix - The dropdown in the bubble menu should forget its state"
gitc () {
msg=${1:-'Quick commit'}
git add . && git commit -m "$msg" && git push origin "$(git branch | sed -n "/\* /s///p")"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment