Minor thing about git 💾

Hedy wrote about jujutsu v git

I know one thing about git that surprises some people: you don't have to use the staging area.

git commit -m "blah blah" fileA fileB

That commits files A an B without putting them in the staging area, and anything in the staging area stays there.

OK, while we're here, some other things about git:



These two things make it hard to make a better version control. It won't fit most people's workflow, and anything you want it to do is already do-able somewhere in the labyrinth.

#git

#TechYawn

back to gemlog


Source