Skip to content

Instantly share code, notes, and snippets.

@nathanharper
Last active May 16, 2017 14:48
Show Gist options
  • Save nathanharper/1a0b85e7ab7cccbb2bfd07a9424d63fd to your computer and use it in GitHub Desktop.
Save nathanharper/1a0b85e7ab7cccbb2bfd07a9424d63fd to your computer and use it in GitHub Desktop.
#!/bin/bash
git branch -u origin/$(git rev-parse --abbrev-ref HEAD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment