Changes
Jump to navigation
Jump to search
→Quick and dirty github tutorial
<div style="text-align: left; direction: ltr; margin-left: 5em;"><code><big>git add <filename></big></code></div>
* to add new files to remove items from your repository use the <code><big>git addremove</big></code> command. After that you must delete the file that you wanted removed from the repository and commit to ensure that your repository actually has the new filechange persisted. See example:<div style="text-align: left; direction: ltr; margin-left: 5em;"><code><big>git add remove <filename></big></code></div><div style="text-align: left; direction: ltr; margin-left: 2em;">''Note'': if removing a non empty folder use the -r flag to recursively remove all contents of that folder as well :</div><div style="text-align: left; direction: ltr; margin-left: 5em;"><code><big>git remove -r <foldername></big></code></div>
</div>