From Fedora Project Wiki

< User:Petersen

Revision as of 04:48, 2 February 2011 by Petersen (talk | contribs) (create a remote master branch)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

git and branches

# clone
git clone git://
# switch to a branch
git checkout --track -b F-14 origin/F-14
# switch back to master
git checkout master

# push tags
git push --tags

# create remote master branch for new repo
git push origin master