Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guide:git [2010/08/02 23:50] – squentin | guide:git [2022/05/23 01:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| gmusicbrowser git repositories : | gmusicbrowser git repositories : | ||
| * github : http:// | * github : http:// | ||
| - | * sourceforge : http://gmusicbrowser.git.sourceforge.net/ | + | * sourceforge : https:// |
| - | (the sourceforge repository allows you to download | + | |
| + | this link will download | ||
| 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' | ||
| + | < | ||
| + | git remote add ochosi git:// | ||
| + | git fetch ochosi | ||
| + | git checkout -b ochosi ochosi/ | ||
| + | </ | ||
| + | The first line creates a new remote named " | ||
| + | |||
| + | The second line fetches the remote' | ||
| + | the third creates a local branch " | ||
