back

by sensanaty·2y ago·view on hn ↗
How do you make a branch based off master though? I never work on master, but my workflow is `gs master && git pull && git switch -c my-branch-name` so that my branch at least starts off with the latest master, willing to learn shorter/quicker variant of this though
1 comments
git fetch && git checkout -b my_branch origin/master