Git Pushing from a local branch to a remote tracking branch -
i have master branch , branched out build branch.
i cloned repository different machine. created branch my_build track remote build branch. have few commits made in my_build branch. want push these changes remote build branch.
i tried pulling remote build branch , worked.
but there way can push commits in my_build branch remotes build branch?
i have master , 2 branches branch , branch b branched master @ same point.
i in branch , want push commits branch b how can this?
i have master , branch a.
cloned machine.
created branch b made commits in b. b not tracking a. how can push changes b a.
how can pull a's changes branch b.
and above cases master , repos non-bare repos.
have @ refspec format of git pull
git push origin branch_from:branch_to
Comments
Post a Comment