Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Git is pretty easy to use but people tend to overcomplicate it. Just push changes to your branch. Merge when ready. And keep your branch up to date with your main branch. Easy.


If you want to use DVCS as DVCS you gotta understand the details. People don't then get into trouble. But to be fair git will do exactly what you ask it to and not warn about some pitfalls and there is also no "tell me what this operation would do" so it's easy to get into nasty state if you just copy commands off internet.


Personally 99% of the time I just push to master/main lol.


this.

Unless your company has a huge fixation with git history you really don't need to know much more than basics one can pick up with ease in what, few hours?

I never rebase in my life, I just merge the target branch and call it a day, most companies only track merge commits anyway so history is the same.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: