My current process is:
git checkout dev
- make changes and commits (& push to development branch on origin occasionally)
git checkout master
git merge dev
git push origin master
git checkout dev
Would it be possible to instead merge from the development branch to master without checking out the master branch? And then would it be further possible to push the master branch without checking it out first?
eg.
- ''
- ''
- merge
dev
intomaster
while indev
branch - push
master
toorigin
while indev
branch
I am trying to eliminate the checkouts, as they are somewhat slow.