Skip to content

Instantly share code, notes, and snippets.

@egoing
Last active December 8, 2018 05:09
Show Gist options
  • Select an option

  • Save egoing/effbb836e86ab1b125eb5dcdd5dc716c to your computer and use it in GitHub Desktop.

Select an option

Save egoing/effbb836e86ab1b125eb5dcdd5dc716c to your computer and use it in GitHub Desktop.
#!/bin/bash
echo $2 > $1 && git add $1 && git commit -m "commit $2" && git --no-pager log --oneline --graph --all --decorate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment