https://github.com/bryaneaton13/bash-pro
Easily accessible profile files - aliases/functions
https://github.com/bryaneaton13/bash-pro
bash bash-profile git-help scripts
Last synced: 1 day ago
JSON representation
Easily accessible profile files - aliases/functions
- Host: GitHub
- URL: https://github.com/bryaneaton13/bash-pro
- Owner: bryaneaton13
- Created: 2016-03-03T14:11:19.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-06-09T17:33:21.000Z (almost 4 years ago)
- Last Synced: 2025-06-03T11:53:11.615Z (11 months ago)
- Topics: bash, bash-profile, git-help, scripts
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## My Profiles (Bash and Oh My Zsh)
These are some common commands to put in `.bash_profile` script to help while developing
#### Terminal
- `up` - cd ..
- `u` - cd ../
- `cl` - clear
#### Git commands
- `gs` - git status
- `gf` - git fetch
- `gp` - git pull
- `gpr` - git pull --rebase
- `ga` - git add .
- `gd` - git diff
- `gc` - git commit
- `gcm` - git commit -m
- `gcheck` - git checkout
- `gmerge` - git merge
- `gpush` - git push
- `gclone` - git clone
- `gt` - git tag
- `gl` - git log
- `gl1` - git log -1
- `gl2` - git log -2
- `gl3` - git log -3
- `gl5` - git log -5
- `gshow` - git show HEAD
- `gshow1` - git show HEAD~1
- `gshow2` - git show HEAD~2
- `got` - git
- `get` - git
#### NPM
- `nr` - npm run
#### Programs
Open current directory in Finder, Atom, or Visual Studio Code
- `o` - open .
- `vs` - code .
Shortcut to run docker commands
- `d` - docker
#### `aliases` and `functions` files go in the `zsh/custom` directory