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 8616721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:41:25+00:00 2026-06-12T05:41:25+00:00

I am really sorry this is such a vague request but I need some

  • 0

I am really sorry this is such a vague request but I need some git help. I know enough to do something pretty stupid, but not enough to know how to avoid doing something very stupid.

I have a remote git server and a working directory on that server. I just need a ‘master’ for version 1.0 with a development branch and a ‘master’ for version 1.1 with it’s own development branch. I need to be able to work on these independently. I only want one repository so perhaps there would be a master with a 1.0 branch with its own devel branch and a 1.1 branch with its own devel branch.

I don’t mind experimenting, if I have a back-out plan, and don’t mind learning the hard way but I’m not the only one who uses this repository and I’ve been asked to make a version 1.1 workspace for the group and I don’t know the best way to do that. I also don’t know how to back out of anything dumb that I may have done.

After hours and hours of googling and trying to find git books and cookbooks, nothing I’ve come across helps me because I don’t know how to refer to my remote branch properly, among other things, and there is something fundamental that I’m failing to comprehend. I’m at the point I don’t know where else to turn. I’ve seen many posts that get me close to what I need but I can’t get past a few hurdles without being able to refer to my set up since git doesn’t click for me, yet, and I can’t extrapolate others’ recommendations onto mine without asking more specific questions.

Is somebody willing to do a little back and forth question/response session with me to help me understand git’s brains and verify my setup?

Here’s a bit to get us started:

SERVER$ git branch -r
  origin/devel
  origin/master
SERVER$ git branch -l
* devel
  master
SERVER$ git branch -a
* devel
  master
  remotes/origin/devel
  remotes/origin/master

SERVER$ git remote show origin
* remote origin
  Fetch URL: /git/sold.git
  Push  URL: /git/sold.git
  HEAD branch: master
  Remote branches:
    devel  tracked
    master tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local refs configured for 'git push':
    devel  pushes to devel  (up to date)
    master pushes to master (up to date)

Thanks in advance.

  • 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-12T05:41:26+00:00Added an answer on June 12, 2026 at 5:41 am

    This is only my second post on stackoverflow, I hope it is helpful.

    master branches

    inside repo switch to master branch

    git checkout master
    

    now create a copy of the master branch sitting at tag 1.0

    git checkout 1.0
    git checkout -b master_1.0
    

    switch back to master branch

    git checkout master
    

    now create a copy of the master branch sitting at tag 1.1

    git checkout 1.1
    git checkout -b master_1.1
    

    dev branches

    switch back to master branch

    git checkout master
    

    now create a dev branch from master sitting at tag 1.0

    git checkout 1.0
    git checkout -b dev_1.0
    

    switch back to master branch

    git checkout master
    

    now create a dev branch from master sitting at tag 1.1

    git checkout 1.1
    git checkout -b dev_1.1
    

    if ok push changes to the remote

    git push
    

    At this point you would have 6 branches total.
    Your original master and dev plus the new copies.
    Development can take place on the newly created branches without impacting master.
    It may not be conventional to have a tag number in the branch name but it will accomplish the task of communicating quickly the branches origin or purpose.
    Further you can remove, merge, or re-create the branches easily.

    To remove branches

    remote – (don’t forget the “:”)

    git push origin :BranchName
    

    local – cannot be on the branch you are trying to delete, -D for un-merged branch

    git branch -D BranchName
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry to bother again, but I really need help transforming this Python2 code into
I'm really sorry to have to ask this, but I clearly don't understand something
Sorry if this is a really basic question but it's been really getting to
Sorry for the vague title, as I really can't explain this problem succinctly. Basically
First of all I'm really sorry for asking such a basic thing, I know
Really sorry for the extremely stupid title, but if I know what it is,
First sorry, but im a really big beginner, so you can down vote this
I'm really sorry if this question has nothing to do on this site, but
I'm really new to VSTO so sorry if this is a newbie question. I'm
I am very very new to JavaScript so sorry if this is really silly.

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.