ryan sheppard

software engineer


All of the alias below are from the git plugin available in Oh My Zsh.

gss: git status -s

short the working-tree status with short flag

gpsup: git push --set-upstream origin $(git_current_branch)

push the current branch to orgin

gaa: git add --all

adds all files to the index

gc: git commit

commit files and open the default git text editor to provide a message

gfa: git fetch --all --prune --jobs=10

fetch updates from all remotes, removing remote branch that no longer exists

gl: git pull

self-explanitory

gp: git push

self-explanitory

grbm: git rebase $(git_main_branch

git rebase with the main branch

gpf!: git push --force

force push to the remote

glo: git log --oneline --decorate

view the commit logs in simple output

gswc: git switch -c

create and switch to a new branch by providing the branch name to create