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
- Host: GitHub
- URL: https://github.com/rohithay/alias
- Owner: rohithay
- License: mit
- Created: 2025-02-26T15:19:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-26T15:21:17.000Z (over 1 year ago)
- Last Synced: 2025-06-25T21:38:39.509Z (about 1 year ago)
- Topics: alias, git, setup, time-savers
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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