IT How Tos

Home

About

Sitemap

Contact

Git Commands

Reset Local Repository back to Remote Master

git fetch origin
git reset --hard origin/master

Add Local Changes to Remote Master

git add .
git commit
git push

Remove a directory from local and remote

rm -rf one-of-the-directories
git rm -r one-of-the-directories
git commit -m "Remove duplicated directory"
git push origin (typically 'master', but not always)