1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2026-01-12 16:32:54 -05:00

git=hub and youtube-dl aliases

This commit is contained in:
2019-09-15 09:38:20 -04:00
parent f40a23352c
commit 1d358cda17
3 changed files with 19 additions and 5 deletions

View File

@@ -51,6 +51,9 @@ alias ripmenu="sudo killall SystemUIServer NotificationCenter"
alias finder="open -a Finder ./"
alias vs="code ./"
# required: https://github.com/github/hub
# `brew install hub`
alias git="hub"
alias gc="git commit -m" # + commit message
alias gca="git add . && git commit -m" # + commit message
alias gs="git status -sb"
@@ -64,7 +67,12 @@ alias glo="git pull origin" # + branch name
alias gb="git checkout" # + branch name
alias gbn="git checkout -b" # + branch name
alias grm="git rebase -i origin/master"
alias gsub="git submodule update --recursive --remote"
alias gundo="git reset --soft HEAD~1"
alias gf="hub fork --remote-name=origin"
alias gpr="hub pull-request"
alias gsync="hub sync"
alias gopen="hub browse"
alias dc="docker-compose"
@@ -76,4 +84,7 @@ alias watchos="open /Applications/Xcode.app/Contents/Developer/Applications/Simu
alias pubkey="more ~/.ssh/id_rsa.pub | pbcopy | echo '=> Public key copied to clipboard.'"
alias ytdl="youtube-dl -f bestvideo+bestaudio"
alias ytmp3="youtube-dl -f bestaudio -x --audio-format mp3 --audio-quality 320K"
alias weather="curl -4 https://wttr.in/Boston"