Other Git Commands



Removing (Unstaging) Files / Directories



# Remove file from the Staging Area
git reset HEAD <file>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reset / overwrite local file from remote repository



# Reset / overwrite local file from remote repository
git checkout myscript.py




Index