FlightGear Git: Difference between revisions

Jump to navigation Jump to search
(→‎Resolving Conflicts: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg32309.html)
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