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

  • Home
  • SEARCH
  • 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 8585689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:07:45+00:00 2026-06-11T22:07:45+00:00

I have searched all other the web and read many instructions but it just

  • 0

I have searched all other the web and read many instructions but it just doesn’t work and/or behave how I expected.

I was working in master and had just finished working on version 0.1 on my project and wanted to branch away from it in order to have an easily accessible snapshot of 0.1. I was currently working in master so I ran:

git branch 0.1

This created a branch on my machine just fine but I couldn’t figure out for the life of me how to push it. I ended up running:

git config push.default current

Now I could swap between projects using:

git checkout

And I was able to push them just fine and had both branches on github. I then added a log file to 0.1 which simply said “0.1 Snapshot test”, commit and pushed it fine. Then I decided I wanted that log in the master branch so I ran:

git merge 0.1

Then I pushed it. This has now kept 0.1 on my machine but has removed 0.1 from github. Edit: actually it appears it’s still on github, just hidden when looking at the overall Master page.

I guess I’m not really sure how I should be using git in order to keep track of previous but completed versions. Which order should I branch and merge in? Was this because I was working in Master that I got confused? I read through all of this but it just confused me more: http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging

  • 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-11T22:07:46+00:00Added an answer on June 11, 2026 at 10:07 pm

    Your question is only related to pushing?

    You can do this:

    git push origin master
    git push origin 0.1
    -- or all
    git push --all origin
    

    Or even for all branches:

    Set up git to pull and push all branches

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First of all I have searched many times in this forum but none is
I have read the documentation and searched all over but I can't find how
I have searched all over the web with no luck of making this project
I have searched online but all the answers I have found were very primitive.
I have searched the forums and all over the web and have not really
I have searched this web looking for an answer, but it seems that this
I have searched all morning and yesterday afternoon and still cannot find an solution
So I have searched all over the place and I can not seem to
OK I have looked and searched all i want to do is fire a
firstly i have searched a lot and all topics seems to be C# :

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.