My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

What are your favourite bash aliases?

Ozzie Neher's photo
Ozzie Neher
·Aug 27, 2016

I'll start with mine, taken from a tweet from either Taylor Otwell or Jeffrey Way

alias nah="git reset --hard;git clean -df;"

Removes all unstaged files, extremely handy to revert back to a clean state.

(removes all files not checked in -- be careful)