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
Next revisionBoth sides next revision
how_to [2022/08/01 17:28] – [To run simultaneous jobs on files in a single mpi on cluster] adminhow_to [2022/08/04 16:53] – [Add only modified changes and ignore untracked files using git.] admin
Line 112: Line 112:
 ---- ----
  
-===== Add only modified changes and ignore untracked files using git=====+===== Add only modified changes and ignore untracked files using git===== 
 + 
 +Using newer version of `git` (e.g., >=2.32.1), 
 + 
 +<code> 
 +git commit -am 'minor changes'; git push 
 +</code> 
 + 
 +⚠️ <font inherit/inherit;;#e74c3c;;inherit>Caution</font>: With older versions the -a option will add all files in the directory, which is usually NOT what you want. Instead, use following command, which would have the same effect as above:
  
 <code> <code>