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

GitHub cannot be used without pull requests. Git cannot be used without commits. Whether there is a code review process or everyone self approves is another question.


GitHub absolutely can be used without pull requests. I don't say that this is a good idea.


Are you saying at Tesla, GitHub can't be used without pull requests? You can for sure (obviously) just push to whatever branch you want for your GitHub hosted repository if that's your desire.


As a newbie software engineer who has forced push to main numerous times last week without a PR. I’m surprised by this discourse on HN.


Pull requests are a UI over branches, and the act of merging two branches. You don't need to use them at all.


> git checkout develop ; git merge feature-branch ; git push --force

Git with no PRs.


Please at least use --force-with-lease


I've replaced CI checks on pull requests with the scream test.




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

Search: