Changes between Version 22 and Version 23 of UsingGit


Ignore:
Timestamp:
01/05/11 04:47:52 (15 years ago)
Author:
beirdo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingGit

    v22 v23  
    4545{{{
    4646git config --global --add push.default nothing
     47}}}
     48
     49The first prevents any unwanted changes.
     50
     51{{{
    4752git config --global --add push.default tracking
    4853}}}
    4954
    50 The first prevents any unwanted changes. tracking pushes the current branch to it's remote tracking branch. That's useful if local branches don't have exactly the same name as the remote branch. mythtv-rec vs. dkristjansson/mythtv-rec for example.
     55This configures git to push only the current branch to it's remote tracking branch. That's useful if local branches don't have exactly the same name as the remote branch. mythtv-rec vs. dkristjansson/mythtv-rec for example.
    5156
    5257git push -n should always verified before real pushing.