Git is the most widely used modern version control system in the world today. Git is a mature, actively maintained open source project originally developed in 2005 by Linus Torvalds - the famous creator of the Linux kernel.
A cheatsheet for git commands.
main.md
contains commonly used git commands.
resources.md
contains resources for learning git.
Git-Cheat-Sheet welcomes any contribution. Please refer to our style guide for submitting patches and additions.
- Fork our repo from here.
- In the console, download a copy of your forked repo with
git clone https://github.com/your_github_username/Git-Cheat-Sheet.git
. - Enter the Git-Cheat-Sheet directory with
cd Git-Cheat-Sheet
. - Make changes to the file you want, commit your changes and submit your Pull Request.
Note: Since this is an active project please rebase from master before submitting a Pull Request to avoid merge conflicts.
How to add git commands in main.md
:
- Case 1: The command's category already exists.
This should be the markdown format.
`$ git command`
- Command Description
- Case 2: The command's category does not exist.
This should be the markdown format.
## Category
`$ git command`
- Command description.
Please post any bugs, questions, or ideas on our issues page.
If you create an issue, please tag it with the appropriate label.