News for hackers. Stuff that matters.
Re:SQLite Doesn't Use Git by cestith on Monday September 12, 2022 @10:47AM (#32811147)
Well... you can force push to a remote with sufficient privs, but you really don't want to do that if you can help it.
Re:SQLite Doesn't Use Git by sshine on Monday September 12, 2022 @04:35PM (#32816531)
A remote can be your personal remote endpoint, or it can be on a shared remote endpoint, but prefixed with your username. As long as you `--force-with-lease` to a feature branch you control and agree on a protocol with potential collaborators, the harm is minimal.

I mostly avoid creating these kinds of conflicts when people's limited git experience would cause stress or unnecessary use of people's time fiddling with the history. Or if more than one person is doing stuff independent of one another.

I've had colleagues that frown on rebase, and people who can't not.

One of the beauties (and complexitties) of git is that it allows for this diversity of workflow.

Re:SQLite Doesn't Use Git by bayindirh on Monday September 12, 2022 @11:54AM (#32812197)
Why should I abuse git while I can commit my developments part by part with nice descriptions?
Re:SQLite Doesn't Use Git by sshine on Monday September 12, 2022 @04:37PM (#32816565)
Because you may want to back up your work remotely before you have the time to write something nice. I had to leave halfway through writing a unit test today. My colleague asked me to back up the code by pushing it. And now I'm back, fixing that test, writing that commit message. Most likely we'll merge right after, so my colleague probably won't need to add more, so the branch is in my control.