User Tools

Site Tools


how_to_work_with_git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to_work_with_git [2017/10/02 13:11] tsauehow_to_work_with_git [2017/10/02 15:20] (current) tsaue
Line 16: Line 16:
 ''git checkout'' is at first sight rather different from ''svn checkout''. You can use ''git checkout'' to switch to another branch or to revert modifications but not to clone the repository. However, the more you use Git the more ''git checkout'' will resemble ''svn checkout''. ''git checkout'' is at first sight rather different from ''svn checkout''. You can use ''git checkout'' to switch to another branch or to revert modifications but not to clone the repository. However, the more you use Git the more ''git checkout'' will resemble ''svn checkout''.
  
-=== 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 58: Line 58:
   * 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:project_name.git +   $ git clone git@gitlab.com:project_name.git
  
   * Update your repository with changes from origin (svn update):   * Update your repository with changes from origin (svn update):
how_to_work_with_git.txt · Last modified: 2017/10/02 15:20 by tsaue

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki