Difference between revisions of "Git asynchronous development"

From relax wiki
Jump to navigation Jump to search
(Created page with "== Motivation == Subversion needs an online repository, to store each commits. Subsequent calls to '''svn diff > patch''' will generate the difference according to the last re...")
 
Line 15: Line 15:
  
 
== Initialization of git ==
 
== Initialization of git ==
 +
Navigate to the root folder of the branch of relax, you want to develop. Initialize with:
 +
git init
 +
 +
=== Setup_commit_information ===
 +
If you havent set the variables, this is good time. See [Git_installation#Git_setup_commit_information].

Revision as of 10:05, 24 June 2013

Motivation

Subversion needs an online repository, to store each commits. Subsequent calls to svn diff > patch will generate the difference according to the last revision. Therefore the development at the moment, require to

  1. make some lines of code
  2. make a path file and a commit message
  3. use the support tracker to upload patch and commit message
  4. wait for acceptance
  5. wait for commit to official repository
  6. then do an svn update
  7. then return to point 1

This takes time, and require that repository maintainer is online.
If the above scheme is not followed, the patch files will come out of sync.

This can be solved by using git.

Initialization of git

Navigate to the root folder of the branch of relax, you want to develop. Initialize with:

git init

Setup_commit_information

If you havent set the variables, this is good time. See [Git_installation#Git_setup_commit_information].