FAQ Get,update GIT project sources: Difference between revisions

Line 182: Line 182:


=Creating a new branch=
=Creating a new branch=
This is command used to start a new branch from a clean develop cloned repository:
From command line:
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">
git branch x.y
git branch x.y
git push origin x.y
git push origin x.y
</source>
</source>
From 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.
Right click and choose "Create branch". Then go into "Remotes - origins" and edit the entries to pull and push onto new branch.


=Statistics=
=Statistics=