Level 51
alias nah="git reset --hard && git clean -df" Sorry I don't have the other one :)
2 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey @JeffreyWay, would you mind sharing a couple of shortcuts and aliases?
Going through the Laravel Forum tutrial I noticed you use wip to try out things in git and nah to revert. If you wouldn't mind posting those aliases thought it would be helpful.
Thanks
wip command is the folowing:
alias wip="git add . && git commit -m 'wip'"
This, and athor aliases can be found on this website: https://laravel-news.com/bash-aliases
Please or to participate in this conversation.