All blogs about git
-
Don't commit to main
Prevent accidental commits to a protected branch such as
main
. -
Open GitHub when pushing a new branch
A trick to quickly create a pull request when pushing a new branch to remote by opening the repo in your browser.