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
Last revisionBoth sides next revision
how_to_work_with_git [2017/10/02 13:09] tsauehow_to_work_with_git [2017/10/02 15:15] 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 37: Line 37:
    $ git config branch.master.mergeoptions "--no-f    $ git config branch.master.mergeoptions "--no-f
        
-=== Recommended reading and viewing ===+===== Recommended reading and viewing =====
    
   * [[http://git-scm.com/course/svn.html|Here]] is a very nice collection of essential commands especially for people coming from the Subversion world:    * [[http://git-scm.com/course/svn.html|Here]] is a very nice collection of essential commands especially for people coming from the Subversion world: 
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: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