application icongmusicbrowser

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
guide:git [2010/08/02 23:50]
squentin
guide:git [2020/12/31 16:58] (current)
Line 5: Line 5:
 gmusicbrowser git repositories : gmusicbrowser git repositories :
   * github : http://github.com/squentin/gmusicbrowser   * github : http://github.com/squentin/gmusicbrowser
-  * sourceforge : http://gmusicbrowser.git.sourceforge.net/git/gitweb.cgi?p=gmusicbrowser/gmusicbrowser;a=summary +  * sourceforge : https://sourceforge.net/p/gmusicbrowser/code/ci/master/tree/ 
-(the sourceforge repository allows you to download snapshots)+ 
 +this link will download a snapshot of the latest version : http://github.com/squentin/gmusicbrowser/tarball/master
  
 The repository contains 2 branches : The repository contains 2 branches :
Line 80: Line 81:
 Do not use rebase on branch you published, as rebase rewrite the history of the branch, use merge instead. Do not use rebase on branch you published, as rebase rewrite the history of the branch, use merge instead.
  
 +===== Cloning branches from other repository =====
 +You can easily track branches from other repository, for example, to track ochosi's branch :
 +<code>
 +git remote add ochosi git://github.com/ochosi/gmusicbrowser.git
 +git fetch ochosi
 +git checkout -b ochosi ochosi/master
 +</code>
 +The first line creates a new remote named "ochosi" (you can list the remotes with "git remote")
 +
 +The second line fetches the remote's data, and create the remote branches, here ochosi/master (you can view it with "git branch -a")
  
 +the third creates a local branch "ochosi" that tracks the remote branch "ochosi/master"
guide/git.1280785814.txt.gz · Last modified: 2013/04/03 06:28 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0