TOP GIT COMMANDS
What every GIT user should know?
Introduction to GIT (Global Information Tracker)
A powerful version control system for managing projects of all sizes quickly and efficiently. Programmers can coordinate and track changes to any files associated with local directory.
Set configuration values on a global or local level. Also, set author name and email ID with commit.
git config -global user.name "[name]"
git config -global user.email "[email]"
Popular Git Commands
Create a new repository for projects. Also, can convert an existing project to a new or empty repository.
git init [repository name]
Create a copy of an existing repository in a new directory at a different location.
git clone [repo url]
Adds modified files into the staging area.
git add [filename]
Create a timeline of the staged changes along project timeline. User can commit major changes on a local level before pushing them to global.
git commit -m "Your Commit Message"
Display differences in files between two commits or between a commit or after the commits are done.
Find out more about Git commands along with their syntax...