how_to_work_with_git
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| how_to_work_with_git [2017/10/02 11:11] – tsaue | how_to_work_with_git [2017/10/02 13:20] (current) – tsaue | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Git is a program that helps multiple developers work together on a program simultaneously. Every revision to the source code is retained, so if something goes wrong it is always possible to go back to a previous state. | Git is a program that helps multiple developers work together on a program simultaneously. Every revision to the source code is retained, so if something goes wrong it is always possible to go back to a previous state. | ||
| - | == Main differences that surprise Subversion users == | + | ===== Main differences that surprise Subversion users ===== |
| You can probably skip this if you have never worked with Subversion or CVS. | You can probably skip this if you have never worked with Subversion or CVS. | ||
| Line 16: | Line 16: | ||
| '' | '' | ||
| - | === Before you start working with git === | + | ===== Before you start working with git ===== |
| It is highly recommended to set the following for the optimum git experience: Colorize your life! | It is highly recommended to set the following for the optimum git experience: Colorize your life! | ||
| Line 37: | Line 37: | ||
| $ git config branch.master.mergeoptions " | $ git config branch.master.mergeoptions " | ||
| - | === Recommended reading and viewing === | + | ===== Recommended reading and viewing |
| * [[http:// | * [[http:// | ||
| Line 53: | Line 53: | ||
| $ man gitglossary | $ man gitglossary | ||
| - | === Basic work === | + | ===== Basic work ===== |
| You can live a fulfilled life with the following few Git commands: | You can live a fulfilled life with the following few Git commands: | ||
| * Clone the repository (checkout a working copy in Subversion speak): | * Clone the repository (checkout a working copy in Subversion speak): | ||
| - | $ git clone git@repo.ctcc.no: | + | $ git clone git@gitlab.com: |
| * Update your repository with changes from origin (svn update): | * Update your repository with changes from origin (svn update): | ||
how_to_work_with_git.1506942671.txt.gz · Last modified: 2017/10/02 11:11 by tsaue