Changes between Version 22 and Version 23 of UsingGit
- Timestamp:
- 01/05/11 04:47:52 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsingGit
v22 v23 45 45 {{{ 46 46 git config --global --add push.default nothing 47 }}} 48 49 The first prevents any unwanted changes. 50 51 {{{ 47 52 git config --global --add push.default tracking 48 53 }}} 49 54 50 Th e first prevents any unwanted changes. tracking pushesthe 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.55 This 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. 51 56 52 57 git push -n should always verified before real pushing.
