DEV Community

Discussion on: What are your worst coding habits?

Collapse
 
selbekk profile image
selbekk

I write git status at least 4000 times a day, for no reason whatsoever.

Collapse
 
pmsuntuwarg profile image
Mahesh Sunuwar

Most of the time, git log follows git status in my case. :P

Collapse
 
kaddkaka profile image
kaddkaka

tig gives me more information, more concisely. Try it out :)

Collapse
 
bhupesh profile image
Bhupesh Varshney 👾

Been there
😂😭

Collapse
 
khoahuynhdev profile image
Khoa Huỳnh

Underrated

Collapse
 
haqqer profile image
ahmad_haqqer

me too dude

Collapse
 
learnbyexample profile image
Sundeep

how about ls and clear

Collapse
 
titivermeesch profile image
PlayBossWar

Doing this all day long when I'm working for no reason, I don't know why actually

Collapse
 
huyduy profile image
Huy Duy

You can use Ctrl + L instead.

Collapse
 
jcoelho profile image
José Coelho

Yep that's me. I even write git status after committing just to make sure 😅

Collapse
 
learnbyexample profile image
Sundeep

That has actually helped me once, I'd forgotten to git add some files

Collapse
 
glyphcat profile image
GlyphCat

And also git branch after git checkout just to make sure I'm on the right branch… 😂

Thread Thread
 
kaddkaka profile image
kaddkaka

My prompt reflects which branch I'm on, super helpful!

Collapse
 
kiro112 profile image
Jairo Malanay

Is it bad ?
Im also guilty of this one + ls and clear

Collapse
 
highcenburg profile image
Vicente G. Reyes

This sounds like a good practice😂

Collapse
 
glaaki profile image
Sean Porter

at least alias it to gst!

also: me too

Collapse
 
cjbrooks12 profile image
Casey Brooks

With as much as I check git status, I don't have time for a 3-letter alias! gs is all I can afford 😜

Thread Thread
 
a0s profile image
Anton Osenenko

And gpr for git pull --rebase