Skip to content

Instantly share code, notes, and snippets.

@jacobat
Created June 3, 2009 09:05
Show Gist options
  • Save jacobat/122896 to your computer and use it in GitHub Desktop.
Save jacobat/122896 to your computer and use it in GitHub Desktop.
% git remote add base ../reposA
% git fetch base
From ../reposA
* [new branch] master -> base/master
% git co -b base base/master
Branch base set up to track remote branch master from base.
Switched to a new branch 'base'
% ls
dirA1 fileA1 fileA2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment