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

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.

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](https://user-images.githubusercontent.com/22446806/32938930-303dc4fc-cbc1-11e7-9311-c2f97496a1bb.png) | `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 `