atom-extensions--other-productivity-hacks
ATOM extensions && other productivity hacks​
1 auto save apm install autosave
now no need to press command + S everytime you want to save, enjoy
2 autocorret rubocop path/to/file --auto-correct
for example: rubocop app/views/apps/defaults/mediaGallery.rb --auto-correct
3 to get the differences between git versions from ATOM command+shift+P type: blame or Option T
4 - Open your .gitconfig file and add this snippet on your [alias]
- Your gitconfig file should look something like this
br = for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
- Save it, open a new tab on your terminal and run
git br - Thank Puru later 😉