Git

How to… Setting up Get a repo from origin git clone <REPO URL> Add remote origin git remote add origin https://<repo>.git git push -u origin master Reference: https://help.github.com/en/github/using-git/adding-a-remote Checking out latest changes git fetch git checkout origin/master References: https://stackoverflow.com/questions/3334475/git-how-to-update-checkout-a-single-file-from-remote-origin-master Force-overwrite local files https://stackoverflow.com/questions/1125968/how-do-i-force-git-pull-to-overwrite-local-files Committing View/add partial bits to the commit with a prompt yes/no git add -p verbose commit, look at changes.Recommended git commit -v...

Last updated: 2022-03-18 by JRO
Estimated read time: 1 min