Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by globular-toast

17 hours ago

Git already works like this. It won't commit anything unless you explicitly stage it first.

2 comments

globular-toast

Reply

der_gopher  17 hours ago

Yes, but people miss often what is committed, especially if the change is big.

  • globular-toast  15 hours ago

    Eh? You explicitly have to add files to the stage before git will commit anything.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities