Reputation: 126
I have 3 branches:master
,dev
and test
,on branch test
how can I merge dev
to master
.for some reason I can't checkout to master
.
Upvotes: 1
Views: 57
Reputation: 24579
try this
git fetch . dev:master
The syntax of command is
git fetch <remote> <source>:<destination>
Upvotes: 1