Skip to content

Instantly share code, notes, and snippets.

@anvk
Created November 16, 2017 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anvk/6c6ea686c0dc9ac7716af14fb5c07e7d to your computer and use it in GitHub Desktop.
Save anvk/6c6ea686c0dc9ac7716af14fb5c07e7d to your computer and use it in GitHub Desktop.
Alias commands
alias gti='git'
alias ll='ls -la'
alias mymongo='mongod --dbpath /Users/anvk/Documents/mongo.data/db/'
alias mypsql='postgres -D /usr/local/var/postgres'
alias mychange='git add . && git commit -m "change" && git rebase -i HEAD~2 && git push -f --set-upstream origin'
alias mykillemmulator='$ANDROID_HOME/platform-tools/adb -s emulator-5554 emu kill'
alias mypush='git push -f -u origin HEAD'
alias myrebase='git checkout develop && git fetch upstream && git pull upstream develop && git checkout - && git rebase develop'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment