Skip to content

Instantly share code, notes, and snippets.

@AOrobator
Last active November 8, 2016 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AOrobator/882ad3f814e59c3492fe7f3fbdc558c3 to your computer and use it in GitHub Desktop.
Save AOrobator/882ad3f814e59c3492fe7f3fbdc558c3 to your computer and use it in GitHub Desktop.
Commonly Used Aliases
alias c="clear" # Clears your terminal window of all output
alias d="adb devices" # Lists all connected Android devices and emulators
alias gs="git status" # Displays status of your working tree in a repository
alias gb="git branch" # Displays local branches
alias gas="git add *" # Adds all files to the git staging area
alias log="adb logcat" # Displays the android logcat
alias adbr="adb kill-server; adb start-server; d" # Restarts the adb server, adb can be quite finnicky and restarting helps to alleviate those problems. That last d character is a reference to the alias defined above, which points to “adb devices”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment