Git Commands - AD-EYE/AD-EYE_Core GitHub Wiki
Command rules
Never use:
git add *
- the force,
-f
, option withpush
Avoid using:
git add -a
git add .
Always make sure you know what you are staging (git add
) and committing (git commit
). In case of doubt use git status
and, eventually, go back to the git tutorial.
Try to avoid merges. If one is required, a pull has probably been forgotten.
Common git commands/cheatsheet
The most common git commands are represented in the next diagram:
Some other commands can be found here
A tutorial about git can be found Here