Changes

Jump to navigation Jump to search
383 bytes added ,  19:35, 28 April 2013
Line 322: Line 322:     
Pushes the local branch named my-branch to my-fgdata (i.e. my clone of fgdata at gitorious) where the branch will be named master.
 
Pushes the local branch named my-branch to my-fgdata (i.e. my clone of fgdata at gitorious) where the branch will be named master.
 +
 +
=== Switching to a remote branch ===
 +
 +
You can create a local version of a remote branch with "git branch releases-2.2.0 origin/releases-2.2.0"or "git checkout -b releases-2.2.0
 +
origin/releases-2.2.0". Git doesn't create a local branch automatically. It exists locally as a remote branch. Create a local branch based on it
 +
with '''git branch -t -l my-2.2.0 origin/releases/2.2.0'''
    
=== git pull ===
 
=== git pull ===

Navigation menu