Skip to content

Instantly share code, notes, and snippets.

@filiptronicek
Last active July 30, 2020 18:16
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 filiptronicek/536e44bd216cc08c0bc48eab65dc1e25 to your computer and use it in GitHub Desktop.
Save filiptronicek/536e44bd216cc08c0bc48eab65dc1e25 to your computer and use it in GitHub Desktop.
Bash tricks

Bash stuff

  • Ctrl + O - trigger next command in history
  • Ctrl + R - search in history
  • Ctrl + Z - run in background

alias update="sudo apt-get update && sudo apt-get upgrade && sudo apt-get full-upgrade autoremove"

Git stuff

Verbose before commit: git config --global commit.verbose 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment