$ git push origin develop:master
or, more generally
$ git push <remote> <local branch name>:<remote branch to push into>
Related Posts:
- How do I delete a Git branch locally and remotely?
- How do I delete a Git branch locally and remotely?
- How do I push a new local branch to a remote Git repository and track it too?
- How do I push a new local branch to a remote Git repository and track it too?
- How do I push a new local branch to a remote Git repository and track it too?
- How do I rename a local Git branch?
- What does ‘–set-upstream’ do?
- What does ‘–set-upstream’ do?
- error: src refspec master does not match any
- What is the best (and safest) way to merge a Git branch into master?
- How do I properly force a Git push?
- How to remove local (untracked) files from the current Git working tree
- Git merge hotfix branch into feature branch
- What is the difference between git push origin and git push origin master
- Git fetch remote branch
- How do I clone a specific Git branch? [duplicate]
- Git fetch remote branch
- How do you push a tag to a remote repository using Git?
- How to get just one file from another branch?
- Update Git branches from master
- Create a branch in Git from another branch
- How do I rename both a Git local and remote branch name?
- Create Git branch with current changes
- How to get the current branch name in Git?
- How do you create a remote Git branch?
- Move the most recent commit(s) to a new branch with Git
- Move the most recent commit(s) to a new branch with Git
- Make an existing Git branch track a remote branch?
- How do I call git diff on the same file between 2 different local branches?
- How to get the current branch name in Git?
- How do you create a remote Git branch?
- Meaning of the GitHub message: push declined due to email privacy restrictions
- Branch from a previous commit using Git
- Not a valid object name: ‘master’
- ! [rejected] master -> master (fetch first)
- How do I copy a version of a single file from one Git branch to another?
- Undoing a ‘git push’
- Move existing, uncommitted work to a new branch in Git
- What are the differences between “git commit” and “git push”?
- What does git push origin HEAD mean?
- What does git push origin HEAD mean?
- Delete branches in Bitbucket
- How to keep a branch synchronized/updated with master?
- How do I run git log to see changes only for a specific branch?
- How to create a local branch from an existing remote branch?
- How to find which git branch I am on when my disk is mounted on other server
- Git push hangs when pushing to Github?
- How to create a new branch from a tag?
- Git push requires username and password
- How do I use ‘git reset –hard HEAD’ to revert to a previous commit? [duplicate]
- Git: Message ‘src refspec master does not match any’ when pushing commits in Git
- How to cherry pick from 1 branch to another
- How to Git stash pop specific stash in 1.8.3?
- How do I revert a Git repository to a previous commit?
- How to merge branch to master?
- What happens when I do git pull origin master in the develop branch?
- What is the `git restore` command and what is the difference between `git restore` and `git reset`?
- Practical uses of git reset –soft?
- Undoing a git rebase
- How to resolve merge conflicts in a Git repository
- How do I resolve git saying “Commit your changes or stash them before you can merge”?
- Hard reset of a single file
- How to fetch all Git branches
- The following untracked working tree files would be overwritten by merge, but I don’t care
- Why do I have to “git push –set-upstream origin
“? - rejected master -> master (non-fast-forward)
- How to name and retrieve a stash by name in git?
- Create a tag in a GitHub repository
- How can I delete a file from a Git repository?
- Git: Could not resolve host github.com error while cloning remote repository in git
- How do I update or sync a forked repository on GitHub?
- How can I reset or revert a file to a specific revision?
- Pull request vs Merge request
- What is the difference between `git merge` and `git merge –no-ff`?
- The following untracked working tree files would be overwritten by merge, but I don’t care
- error: cannot lock ref.. ‘refs/tags’ exists; cannot create ‘refs/tags/
- Your configuration specifies to merge with the
from the remote, but no such ref was fetched.? - How to git add a whole folder
- How to change folder with git bash?
- Git:nothing added to commit but untracked files present
- Git how to clone with SSH key, username
- fatal: This operation must be run in a work tree
- How to replace local branch with remote branch entirely in Git?
- Git diff against a stash
- How to revert a “git rm -r .”?
- “git checkout
” is changing branch to “no branch” - How do I list all of the files in a commit?
- Git keeps prompting me for a password
- How can I unstage my files again after making a local commit?
- Resolve Git merge conflicts in favor of their changes during a pull
- Git stash pop- needs merge, unable to refresh index
- Git – Remove commit from history
- List submodules in a Git repository
- How can I reconcile detached HEAD with master/origin?
- How to get Git to clone into current directory
- How to search in commit messages using command line?
- How to get changes from another branch
- Difference between git stash pop and git stash apply
- How do I show the changes which have been staged?
- GIT and Development URL’s point to production