DEV Community

Discussion on: "git nah" and more handy Git aliases

Collapse
 
ironsavior profile image
Erik Elmore

git rekt

git config --global alias.rekt = "reset --hard"

Collapse
 
maxpou profile image
Maxence Poutord

oh I love this one!

Collapse
 
thecodingalpaca profile image
Carlos Trapet

I'm stealing this one for demacia

Collapse
 
diazsasak profile image
Diaz Guntur Febrian

why i got this error?

expansion of alias 'rekt' failed; '=' is not a git command

Collapse
 
michi profile image
Michael Z

Check this comment dev.to/maxtruxa/comment/idja
You must omit the equals sign.

Thread Thread
 
diazsasak profile image
Diaz Guntur Febrian

thank you