I have following questions.
I want to create a
branch
from mymaster
repo. I can use eitherbitbucket dashboard
orTerminal
to create a branch. If I usedTerminal
, the created branch does not show inOverview
.but if I usedCreate a branch
from dashboard and create, it shows the branch but din't contains anything and asked me to do checkout withgit fetch && git checkout branchname
command.
Which one is the correct way to create a branch?Then my next question is , Think my
master
has Changed and my Branch is also chanaged. so how can I merge my branch changes to master. what are the steps to do that. (Best way is to use commands or the bitbucket dashboard merge)Finally , if we typed
git branch
, it showsmaster
andother branches
. so how can I change the branch from terminal.
git push remote master
, it always saysPlease make sure you have the correct access rights and the repository exists.
. why is this. – Cassation