svn - How to make git commit only tracked files -


i've started use git , it's driving me nuts. if i'm understanding way git works correctly:

  1. even if file tracked have add staging pool before committing it.
  2. only files in staging pool committed local repository.
  3. when non tracked file added staging pool 'git add' automatically becomes tracked file.
  4. when tracked file deleted 'git rm' (or 'git rm --cached' if don't want deleted fs) delete 'action' inserted staging pool implemented in local repository on next 'git commit'.

however, if have 100 tracked files have been modified adding them individually in preparation commit pretty tedious. when svn commit root of tree subversion default commit tracked files have been modified added 'svn add' or deleted 'svn rm'.

so question is, there single git command 'svn commit' does, i.e. add , commit tracked files have been modified or deleted , not add every single solitary file in tree staging pool?

git add -u should add modified , removed files.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -