MacOS X: use git installed with `XCode
<https://developer.apple.com/xcode/downloads/>`_ or download from
MacOS X: use git installed with `XCode
<https://developer.apple.com/xcode/downloads/>`_ or download from
- $ git branch save-master # create a new branch saving master
- $ git reflog # find the original place of master
+ $ git branch save-master # create a new branch saving master
+ $ git reflog # find the original place of master
Git switches to the root (top-level directory of the project where
``.git`` subdirectory exists) before running any command. Git
Git switches to the root (top-level directory of the project where
``.git`` subdirectory exists) before running any command. Git
Rerere is a mechanism that helps to resolve repeated merge conflicts.
The most frequent source of recurring merge conflicts are topic
Rerere is a mechanism that helps to resolve repeated merge conflicts.
The most frequent source of recurring merge conflicts are topic
Git object database and other files/directories under ``.git`` require
periodic maintenance and cleanup. For example, commit editing left
Git object database and other files/directories under ``.git`` require
periodic maintenance and cleanup. For example, commit editing left
a program; default program for ``-O`` is a pager (usually ``less``),
but you can use your editor::
a program; default program for ``-O`` is a pager (usually ``less``),
but you can use your editor::
BTW, if git is instructed to use ``less`` as the pager (i.e., if pager
is not configured in git at all it uses ``less`` by default, or if it
BTW, if git is instructed to use ``less`` as the pager (i.e., if pager
is not configured in git at all it uses ``less`` by default, or if it