X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=pep-git.txt;h=a2e2780905cb3d8699dd56bbd0fb0e1f760a3f02;hb=addfd31ba0339c2e4c36f777dee7d7585735c2dc;hp=2a2c67633d6175aefd2f9a838ad1759314c22f06;hpb=dd1409cca5a4422a825a66b930b7382b43defb4d;p=git-wiki.git diff --git a/pep-git.txt b/pep-git.txt index 2a2c676..a2e2780 100644 --- a/pep-git.txt +++ b/pep-git.txt @@ -1,5 +1,5 @@ PEP: XXX -Title: git +Title: Collecting information about git Version: $Revision$ Last-Modified: $Date$ Author: Oleg Broytman @@ -12,10 +12,101 @@ Post-History: Abstract ======== +This Informational PEP collects information about git. There is, of +course, a lot of documentation for git, so the PEP concentrates on +more complex issues, topics and scenarios. + +The plan is to extend the PEP in the future collecting information +about equivalence of Mercurial and git scenarios to help migrating +Python development from Mercurial to git. + +The author of the PEP doesn't currently plan to write a Process PEP on +migration from Mercurial to git. + + +Documentation +============= + +Git is accompanied with a lot of documentation, both online and +offline. + +Documentation for starters +-------------------------- + +Git Tutorial: `part 1 +`_, +`part 2 +`_. + +`Git User's manual +`_. +`Everyday GIT With 20 Commands Or So +`_. +`Git workflows +`_. + +`Git Magic +`_, +also with a number of translations. + +Advanced documentation +---------------------- + +`Pro Git `_. The Book about git. Buy it at +Amazon or download in PDF, mobi, or ePub form. Has translations to +many different languages. Download Russian translation from `GArik +`_. + +`Git Wiki `_. + +Offline documentation +--------------------- + +Git has builtin help: run ``git help TOPIC``. For example, run +``git help git`` or ``git help help``. + + +Quick start +=========== + +Download and installation +------------------------- + +Unix users: download and install using your package manager. + +Microsoft Windows: download `git-for-windows +`_. + +MacOS X: use git installed with `XCode +`_ or download +`git-osx-installer +`_. + +Initial configuration +--------------------- + +This simple code is often appears in documentation, but it is +important so let repeat it here:: + + $ git config --global user.name "User Name" + $ git config --global user.email user.name@example.org + + +Examples in this PEP +==================== + +Examples of git commands in this PEP use the following approach. It is +supposed that you, the user, works with a local repository named +``python`` that has an upstream remote repo named ``origin``. Your +local repo has two branches ``v1`` and ``v2``. Usually the currently +checked out branch is ``v2``. + References ========== +.. [] + Copyright =========