User Tools

Site Tools


geda:scm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
geda:scm [2016/02/10 16:25]
ptay [gEDA uses git] fixed bad link.
geda:scm [2016/08/04 12:35]
kaimartin [Track a feature branch] removed spurious brackets
Line 28: Line 28:
  
 ==== List all branches of a project ==== ==== List all branches of a project ====
-To list all branches of a project available on the geda-project server emit this command: +To list all branches of a project available on the geda-project server ​cd to your local copy of the project and emit this git command: 
-<​code>​$ git ls-remote git://​git.geda-project.org/​geda-gaf.git</​code>​ +<​code>​$ git branch ​-r</​code>​
 ==== Track a feature branch ==== ==== Track a feature branch ====
 This will create a branch with the name ''<​local name>''​ in your local repository, which tracks the ''<​remote name>'''​d branch. This will create a branch with the name ''<​local name>''​ in your local repository, which tracks the ''<​remote name>'''​d branch.
 <​code>​$ git checkout --track -b <local name> origin/<​remote name></​code>​ <​code>​$ git checkout --track -b <local name> origin/<​remote name></​code>​
-Go ahead and build the application]] from the branch as described by the [[geda:​gaf_building_git_version|build instructions]]. By default the command ''​make install''​ will copy the binaries to ''/​usr/​local/​*''​. That way, it will not interfere with an install done by your linux distribution. You may use full paths, symbolic links or aliases to pick which version to use.+Go ahead and build the application from the branch as described by the [[geda:​gaf_building_git_version|build instructions]]. By default the command ''​make install''​ will copy the binaries to ''/​usr/​local/​*''​. That way, it will not interfere with an install done by your linux distribution. You may use full paths, symbolic links or aliases to pick which version to use.
  
 ==== Communicate your experience ==== ==== Communicate your experience ====
geda/scm.txt · Last modified: 2016/08/04 12:35 by kaimartin