Skip to content

Instantly share code, notes, and snippets.

darronz /
Created September 2, 2019 09:22
Bash script to rebase your current branch on master
# store name of current branch
BRANCH=$(git branch | grep \* | cut -d ' ' -f2)
# checkout master
git checkout master
# pull the latest changes
git pull

Keybase proof

I hereby claim:

  • I am darronz on github.
  • I am darronz ( on keybase.
  • I have a public key ASAyN3RO4QR7pKiJ9D-CpL1oaIvL_iyh_GeBJNqj0VZxAAo

To claim this, I am signing this object: