DEV Community

Discussion on: What is your favourite Git command?

Collapse
 
ben profile image
Ben Halpern

I like to pull a git reset --hard when I need to start fresh.

Collapse
 
msamgan profile image
Mohammed Samgan Khan

I m up for this one.

Collapse
 
sethbergman profile image
Seth Bergman

I use:

git reset HEAD --hard

My alias is:

grshard

I also have an alias forgit, which is just g.

Collapse
 
mzaini30 profile image
Zen

Wow g πŸ˜‚

Collapse
 
manan30 profile image
Manan Joshi

I have aliased it as nuke