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

https://github.com/rohithay/alias

📝 commonly used git aliases
https://github.com/rohithay/alias

alias git setup time-savers

Last synced: 2 months ago
JSON representation

📝 commonly used git aliases

Awesome Lists containing this project

README

          

# alias
📝 commonly used git aliases

## Installation

```bash
$ source alias.sh
```

## Aliases

| Alias | Command |
|-------|---------|
| `gs` | `git status` |
| `gd` | `git diff` |
| `gdc` | `git diff --cached` |
| `gl` | `git log` |
| `gpom` | `git pull origin main` |
| `gpos` | `git pull origin staging` |
| `gpoc` | `git pull origin canary` |
| `gpod` | `git pull origin dev` |
| `gpum` | `git pull upstream main` |
| `gf` | `git fetch` |
| `gp` | `git push` |
| `gpuo` | `git push -u origin` |
| `ga` | `git add .` |
| `gm` | `git commit -m` |
| `gam` | `git add . && git commit -m` |
| `gb` | `git branch` |
| `gco` | `git checkout` |
| `gcom` | `git checkout main` |
| `gcoc` | `git checkout canary` |
| `gcod` | `git checkout dev` |
| `gcob` | `git checkout -b` |
| `gc` | `git clone` |
| `gr` | `git rebase` |
| `grm` | `git rebase main` |
| `grc` | `git rebase --continue` |
| `grs` | `git rebase --skip` |
| `gcp` | `git cherry-pick` |
| `gmm` | `git merge main` |

## License

MIT