Edgewall Software

Changes between Version 2 and Version 3 of TracTeam/Repositories


Ignore:
Timestamp:
Feb 27, 2013, 5:25:54 AM (11 years ago)
Author:
Ryan J Ollos <ryan.j.ollos@…>
Comment:

After adding the remote, I had to run git fetch remote (I won't add this step because it is probably obvious to any experienced Git user). Next, trunk had to be appended to mirror to avoid the error fatal: Not a valid object name: 'mirror'..

Legend:

Unmodified
Added
Removed
Modified
  • TracTeam/Repositories

    v2 v3  
    5151We also would like to fetch from this remote instead of the origin for the local  branch `trunk`, so we need to replace `origin` by `mirror`:
    5252{{{
    53 $ git branch --set-upstream -f trunk mirror
     53$ git branch --set-upstream -f trunk mirror/trunk
    5454Branch trunk set up to track remote branch trunk from mirror.
    5555}}}
     
    8787This makes it very easy to fetch topic branches from other people and to continue where they left or propose changes.
    8888
    89 In the end, a`.git/config` for such a repository where `user=jonas` will look like the following:
     89In the end, a `.git/config` for such a repository where `user=jonas` will look like the following:
    9090{{{#!ini
    9191[core]