By far, the most widely used modern version control system in the world today is Git. Git is a mature, actively maintained open source project originally developed in 2005 by Linus Torvalds, the famous creator of the Linux operating system 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_username/Git-Cheat-Sheet.git
whereyour_username
is your GitHub username. - Enter the new 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: Please rebase from master before sending a pull request.
Adding the 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.