Skip to content

Instantly share code, notes, and snippets.

@bigtoast
Created November 17, 2010 20:13
Show Gist options
  • Save bigtoast/703991 to your computer and use it in GitHub Desktop.
Save bigtoast/703991 to your computer and use it in GitHub Desktop.
clone with following remote submodules:
git clone git://github.com/stevej/emacs.git .emacs.d --recursive
update repo following remote submodules:
git submodule update --init --recursive
checkout remote branch
git checkout -b local-name origin/remote-name
delete remote branch
git push origin :branch_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment