Configure and Use Git Cheatsheet

You need to add a widget, row, or prebuilt layout before you’ll see anything here. 🙂

First Configuration

git config –global user.name “Montejam”

git config –global user.email Montejam@gmail.com

git config –global push.default matching

git config –global alias.co checkout

Using GIT

git init

git add -A

git status

git commit -m “message”

Revert back to a previous commit

git checkout (to revert)

Create a branch

git checkout -b “branch name”

see the branch:

git branch

Merge changes with master branch

git commit -am

git checkout master

git merge “branch name”

Montejam

View posts by Montejam
Michael is an Information Security Executive with more than 14 years of security services, security strategy development, risk management, security research, vulnerability management, threat management, incident response, integration, and network and data security experience. Michael specializes in Executive-level security advisory. Michael has experience within the financial, technology, retail, power and energy, healthcare and public sectors. He has previously functioned as a technical and practice leader of Managed and Professionals Security Services within IBM as the North America Director of Security Intelligence, as a Senior Threat Researcher on the IBM X-Force, as an industry analyst, and as public sector vulnerability management coordinator and incident responder.
Scroll to top