FAQ Get,update GIT project sources: Difference between revisions

m
Line 182: Line 182:


=Creating a new branch=
=Creating a new branch=
From command line:
With GIT Command Line Interface:
 
Create a clone (see previously) of the branch from where you want to create another branch, then go into directory and launch command:
Create a clone (see previously) of the branch from where you want to create another branch, then go into directory and launch command:
<source lang="bash">
<source lang="bash">
Line 188: Line 189:
git push origin x.y
git push origin x.y
</source>
</source>
From Eclipse:
 
With Eclipse:
 
Create a clone (see previously) of the branch from where you want to create another branch, with a checkout done. The go into view git. Choose brnahces, remote tracking and select start brancht.
Create a clone (see previously) of the branch from where you want to create another branch, with a checkout done. The go into view git. Choose brnahces, remote tracking and select start brancht.
Right click and choose "Create branch". Then go into "Remotes - origins" and edit the entries to pull and push onto new branch.
Right click and choose "Create branch". Then go into "Remotes - origins" and edit the entries to pull and push onto new branch.