Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Kimmax you can check out a file. Which means the unstaged changed gets deleted.
-
I approve this. Small git commits and to the point. Also your commit message should be readable. Have you seen Slack release notes? Like that.
-
Root825087y@Ashkin
Edit: well, you can, but be very sure what you're doing. And if you're new to git, my above advice stands. -
fyzrn27597y@Ashkin yeah, I rarely use that, even when I do, it's only when I'm committing every a few changes. I guess my brain just snapped that day lol
Related Rants
Commit fast, commit often.
I lost a day's worth of code once, because I wanted to commit all of them in the evening right before I was to go home. Then I mistakenly hit `git checkout .` instead of `git add .`.
Poof. Gone.
undefined
git
wk55