Sign in
Log inSign up

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)

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct