merge - Merging to a branch in git without switching to it -
i have application running in git repository on branch (say dev
). application modifies content in repository , commits them. have merge these changes branch (say master
) snag don't want git checkout master
before doing this. there way "merge current branch master"?
the "master" in case appears "fast-forwardable". "push" branch master.
cd /path_to_dir_with_no_branch_switch/ git push . appbranch:master
Comments
Post a Comment