Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

push to specific remote branch

git push origin localBranchName:remoteBranchName
Comment

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>
Comment

PREVIOUS NEXT
Code Example
Shell :: react native cannot load 
Shell :: crontab view output 
Shell :: git flow 
Shell :: install deno 
Shell :: git untract file 
Shell :: git rename a local branch 
Shell :: how can i solve my problems? 
Shell :: extract a tar file in linux 
Shell :: Update /etc/apt/sources.list file 
Shell :: git stash bitbucket 
Shell :: compare files linux 
Shell :: rebase my fork branch 
Shell :: bash script template linux 
Shell :: update helm repo 
Shell :: how to get the type of something in powershell 
Shell :: what to do with the git config 
Shell :: install bottom navigation in react native 
Shell :: ? For which GitHub repository would you like to set up a GitHub workflow? (format: user/repository) 
Shell :: Bootable flash from ubuntu terminal 
Shell :: git fork 
Shell :: dir command 
Shell :: rails db:rollback 
Shell :: connect to aws ubuntu gui from windows 
Shell :: export function in shell script 
Shell :: which command is used to create a new git repository 
Shell :: jq filter by key 
Shell :: ubuntu adding a monitor 
Shell :: command split by delimiter 
Shell :: nano move line up 
Shell :: mac end process shortcut 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =