Ask HN: What part of modern Git hosting system is the most crucial one for you

1 pointsposted 9 hours ago
by melezhik

Item id: 49229980

4 Comments

kingkongjaffa

8 hours ago

When you merge request and then need to make changes, at least they way i do it is git push --force to push to overwrite the branch state on remote (gitlab/github etc.)

I like that is keeps track of the diffs and changes for code review comment threads so you can see what changed inbetween multiple git push --forces to fix stuff.

That struck me the other day as not a native git feature but an actual novel thing github/gitlab do.

melezhik

8 hours ago

Usually once MR is merged , no need to change existing branch and people usually just create a new one to push more changes or I miss something ?

kingkongjaffa

2 hours ago

> Usually once MR is merged

No, nothing is merged yet I'm talking about during code review when changes are requested by the reviewer, you force push to overwrite your previous commits, the brand history does not know this by design in git, but gitlab/github understands this workflow and keeps track of it so a pre vs post git push --force is diffable.