https://github.com/alexnoz/shell-shortcuts
:shell: Personal shell (Git mostly) scripts to boost Git and Unix workflow.
https://github.com/alexnoz/shell-shortcuts
git shell shortcuts
Last synced: about 2 months ago
JSON representation
:shell: Personal shell (Git mostly) scripts to boost Git and Unix workflow.
- Host: GitHub
- URL: https://github.com/alexnoz/shell-shortcuts
- Owner: alexnoz
- License: mit
- Created: 2017-11-17T10:49:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-22T12:42:43.000Z (over 8 years ago)
- Last Synced: 2025-05-14T22:11:35.713Z (about 1 year ago)
- Topics: git, shell, shortcuts
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# $ Shell Shortcuts
Shell (Git mostly) scripts to boost Git and Unix workflow.
Command (Git) | Description | Usage
:--------:|:-------------:|:------:
`ga` | Alias for `git add` | `ga `
`gch` | Alias for `git checkout`. Use it for checking out branches. To discard changes, use `gpurge`. | `gch `
`gc` | Same as `git commit -m`. | `gc `
`gca` | Same as `git commit -am`. | `gca `
`gl` | Alias for `git log`. Produces output similar to this:
 | `gl `
`gpurge` | Discard changes since the last commit. | `gpurge -a` - discard all changes.
`gpurge [ ...]` - discard changes in some files.
`gs` | Same as `git status -s` | `gs `
`gsqall` | Creates a new commit object based on provided tree object. Basically, "squashes" all commits in a branch. | `gsqall `
`gundo` :gun:| Undo last `n` commits. | `gundo [-h] []`
`gundo` - same as `git reset --soft HEAD^`
`gunstage` :gun:| Unstage files. | `gunstage [...]`
`gview` | Show changes introduced by a commit. | `gview []`
**Command (others)** |
`l` | Same as `ls -lA --color` | `l []`
`rmd` | Remove a directory | `rmd `