Changes between Version 9 and Version 10 of GitMigrationProposal

Show
Ignore:
Timestamp:
03/15/09 06:29:44 (4 years ago)
Author:
cdavid
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GitMigrationProposal

    v9 v10  
    118118}}} 
    119119 
    120 The -m option has the same meaning as the svn commit command. The -a option "bypasses" the index, and tells git to commit all your changes. By default (without the "-a"), git only commits the changes you explicitly told him about with the add command (TODO: ref to git-specific workflows). 
     120The -m option has the same meaning as the svn commit command. By default (without the "-a"), git only commits the changes you explicitly told him about with the add command (TODO: ref to git-specific workflows). Although extremely useful, it can be a bit confusing at first when you come from a svn background, hence the -a option. 
     121 
     122A big difference of git compared to svn which cannot be skipped even at this level: git clone gives you a working tree (a snapshot of the sources at one revision) AND the repository with the full history. It means in particular that committing a change will NOT propagate it to the original repository you cloned from. For this, you need to use push: 
     123 
     124{{{ 
     125git push git.scipy.org/git/numpy 
     126}}} 
     127 
     128TODO: handling of remote locations. 
     129 
    121130= Rationale for git =  
    122131