Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git push specific branch

# In some cases, you may want to push your changes 
# to another branch on the remote repository.
#
# In order to push your branch to another remote branch, 
# use the “git push” command and specify the remote name, 
# the name of your local branch as the name of the remote branch.

$ git push <remote> <local_branch>:<remote_name>
Source by devconnected.com #
 
PREVIOUS NEXT
Tagged: #git #push #specific #branch
ADD COMMENT
Topic
Name
4+3 =