https://github.com/wasiqb/common-git-commands
A list of commonly used Git commands.
https://github.com/wasiqb/common-git-commands
awesome-list curated-list git git-command-line github
Last synced: 27 days ago
JSON representation
A list of commonly used Git commands.
- Host: GitHub
- URL: https://github.com/wasiqb/common-git-commands
- Owner: WasiqB
- License: apache-2.0
- Created: 2018-01-03T14:23:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-03T15:15:12.000Z (over 8 years ago)
- Last Synced: 2025-06-29T07:02:00.814Z (11 months ago)
- Topics: awesome-list, curated-list, git, git-command-line, github
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Common Git Commands [](https://github.com/WasiqB/common-git-commands)
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
```terminal
$ git status
```
### Pull changes
```terminal
$ git pull
```
### Add changed file / folder
```terminal
$ git add
```
### Add all changed files
```terminal
$ git add .
```
### Revert changed file / folder
```terminal
$ git checkout
```
### Revert all the changed files
```terminal
$ git checkout .
```
### Commit changes
```terminal
$ git commit -m "Your message here."
```
### Push changes
```terminal
$ git push
```
### Clone new repository
```terminal
$ git clone
```