Skip to content

Instantly share code, notes, and snippets.

@ShockwaveNN
Last active June 19, 2020 06:52
Show Gist options
  • Save ShockwaveNN/e785c3f1b8ade30bedb4c215399646fb to your computer and use it in GitHub Desktop.
Save ShockwaveNN/e785c3f1b8ade30bedb4c215399646fb to your computer and use it in GitHub Desktop.
aliases
git config --global alias.ammend 'commit -av --amend --no-edit'
git config --global alias.call 'commit -av'
git config --global alias.pprune 'pull --prune'
echo 'alias rubocop_update="git pull --prune && bundle install && rubocop --auto-gen-config && git diff && git checkout -f"' >> ~/.bashrc
echo 'alias master_update="git checkout master && git pull --prune"' >> ~/.bashrc
echo 'alias system_update="sudo apt -y update && sudo apt dist-upgrade && sudo snap refresh && flatpak update"' >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment