Open Source Comes to Campus/Curriculum/Directory: Difference between revisions
Content added Content deleted
imported>Shauna |
imported>Shauna |
||
Line 85: | Line 85: | ||
git status |
git status |
||
You can |
You can make sure git is tracking your changes by typing "git add" followed by the files you've changed, for instance: |
||
git add index.html |
git add index.html |
||
Line 92: | Line 92: | ||
git commit -m "I added myself to the directory!" |
git commit -m "I added myself to the directory!" |
||
(What's the difference between add and commit, you might ask? "add" let's you specific which specific files you want to include in a commit. If you want to include all the files you've changed you can smoosh these two steps together with <code>git commit -a -m "I added myself to the directory!"</code>) |
|||
Now, publish those changes on Github by typing: |
Now, publish those changes on Github by typing: |