Skip to content

WasiqB/common-git-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Common Git Commands Awesome

All are most welcome to update this list by sending PR's.

Let's make this list useful to most of Git users where they can refer this list to find the command they are looking for.

Status

$ git status

Pull changes

$ git pull

Add changed file / folder

$ git add <file/folder-name>

Add all changed files

$ git add .

Revert changed file / folder

$ git checkout <file/folder-name>

Revert all the changed files

$ git checkout .

Commit changes

$ git commit -m "Your message here."

Push changes

$ git push

Clone new repository

$ git clone <repo-url>

Releases

No releases published

Packages

No packages published