Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7887717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:39:11+00:00 2026-06-03T05:39:11+00:00

I have these 2 branches on my remote GitHub repository: development master How do

  • 0

I have these 2 branches on my remote GitHub repository:

  • development
  • master

How do I merge development into master on the remote repository? I’ve tried

git merge development

and

git merge origin

but it says the repo is up to date so I’m doing it wrong because github says development is 12 commits ahead of master.

Update

Thanks for the follow ups – here’s some more info, I did a push to the remote repository with

git push origin 

and my changes have been committed. If I do a clone in another folder I see all the changes there if I checkout the development branch.

git branch -av 
development      8265e30 - etc
hotfix-t4        8342e44 - etc 
*master          0041bod - Initial Commit
  remotes/origin/HEAD  -> origin/master
  remotes/origin/development 8265e30 - etc
  remotes/origin/experimental 22cd3ef test1
  remotes/origin/hotfix-t4 8342e44 test
  remotes/origin/master 0041bod Initial commit
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T05:39:13+00:00Added an answer on June 3, 2026 at 5:39 am

    The behaviour of git push or git push origin (i.e. when you don’t also specify a refspec as the last parameter) is rather surprising – by default it pushes each branch to one of the same name so long as a branch with that name exists both locally and remotely. (This default can be changed with the push.default config option.)

    So, to be sure that you have correctly pushed a particular branch to the same name in the remote origin, it’s a good idea to always use this form:

    git push origin <branch-name>
    

    … which is equivalent to git push origin <branch-name>:<branch-name>.

    So, in full, to make sure that you have merged development to master locally, and then pushed master to GitHub, do exactly the following:

    git checkout master
    git merge development
    git push origin master
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a remote repository http://github.com/fernandezpablo85/Test This repo has a master branch, but it's
I have a git repo which has a few branches - there's the master
I'm having problems getting hudson to checkout my git repo and merge into master.
I am a relative beginner at git - I have two branches: master and
git version 1.7.3.5 I have the following branches: git branch image master * video
I often have at least 3 remote branches: master, staging and production. I have
I have local git repository on my pc with 2 branches, let's say branch1
I have a remote git repository where I have a tag (tag-1) that is
How can one remove unused git bracnhes from Tortoise-Git? These branches have been removed
I'm using git-svn to work with an SVN repository. My working copies have been

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.