An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

## Common Git Commands [![Awesome](https://awesome.re/badge.svg)](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
```