Skip to content

Instantly share code, notes, and snippets.

@roddds
Created September 11, 2013 22:03
Show Gist options
  • Save roddds/6530383 to your computer and use it in GitHub Desktop.
Save roddds/6530383 to your computer and use it in GitHub Desktop.
function push {
echo "git push origin $(git rev-parse --symbolic-full-name --abbrev-ref HEAD)"
git push origin $(git rev-parse --symbolic-full-name --abbrev-ref HEAD)
}
function pull {
echo "git pull origin $(git rev-parse --symbolic-full-name --abbrev-ref HEAD)"
git pull origin $(git rev-parse --symbolic-full-name --abbrev-ref HEAD)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment