What I currently do is a common work scenario for me. When I create a new feature branch, I want to start at point 'develop' and set upstream branch with the same name as my feautre branch so it goes like
git checkout -b feature/MyFeature origin/develop --no-track
and with the first push I do
git push -u origin feature/MyFeature
I am wondering if it is possible to create new branch with given starting point and setting upstream with matching name in single git command ?
something like
git checkout -b fastBranch --start-at origin/develop --set-upstream origin/fastBranch
and favoreably with the ability to ommit repeating myself regarding origin/fastBranch
part