Helpful Git Commands

Helpful Git Commands

May 28, 2018 0 By Cory Hanson

I have put together a Gist with a helpful quick reference to common Git commands, as well as some less known but extremely useful ones.

Have you forked a repository on GitHub and want to update your forked version with the changes to the original?

Do you have a file you want to keep in your repository, but ignore any further changes in the file?

Having problems pushing changes from a cloned or forked repository?

Have you accidentally committed sensitive data to your local or remote GitHub repository and need to remove it ASAP?!

Find the answers here along with a reference to some common Git commands.