Git: Difference between revisions

From London Hackspace Wiki

9 bytes added ,  25 February 2011
m
Line 41: Line 41:
Now, to see to it that they're committed to the repo, do the following:
Now, to see to it that they're committed to the repo, do the following:


  git add file1.sh file2*.py data/file3.txt
  git add file1.sh data/file2.txt
git add file3*.py


This tells git which files you want to commit the changes for.  Finally, use:
This tells git which files you want to commit the changes for.  Finally, use:
3,313

edits