This seems like a really odd flow. In my mind, you're trying to prevent commits directly on master which is good practice. However, this can easily be achieved by setting the permissions on the repository so that master can only received code via pull/merge requests.
This seems like a really odd flow. In my mind, you're trying to prevent commits directly on master which is good practice. However, this can easily be achieved by setting the permissions on the repository so that master can only received code via pull/merge requests.
I'm actually trying to eliminate the maintenance of a local master. It also emphasizes keeping up to date with remote when work starts.
I'm trying to avoid poorly named branches, ones that aren't named for the work being done.
If you're already comfortable with remotes and branch management then this advice isn't necessary, but I'd be curious what you do on local master?
I've probably run all of the following on/using master in the last 2 weeks (albeit some via aliases)
Yep most of these would be equal with origin/master, but that is more typing, and others might result in a longer message (merge commit)
Not checking my commands but what is wrong with