Skip to content

Instantly share code, notes, and snippets.

@todb-r7
Created March 23, 2012 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todb-r7/2172585 to your computer and use it in GitHub Desktop.
Save todb-r7/2172585 to your computer and use it in GitHub Desktop.
bash script to add a remote branch of Metasploit
function git-add-remote {
git remote add $1 git://github.com/$1/metasploit-framework
git fetch $1
git branch --track $1 $1/master
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment