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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:35:26+00:00 2026-06-03T09:35:26+00:00

First of all, I am new to using ‘git’. And I am using SourceTree

  • 0

First of all, I am new to using ‘git’. And I am using SourceTree client.

I have the following scenario. I have checked out the code from git repository. I have made few changes to the code. In the mean time, a new branch (say “vv1”) was created in the repository. Now I wanted to commit my changes to both master and vv1. Can anybody guide me regarding this, with the help of SourceTree?

  • 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-03T09:35:27+00:00Added an answer on June 3, 2026 at 9:35 am

    Commit to one of the branches, then you’ve got a choice:

    • If the branches haven’t diverged, merge said branch into the other. This will perform a fast-forward.
    • If the branches have diverged, you can cherry-pick the commit into the other branch.

    A larger question is why are you trying to commit to two seperate branches rather than letting the author of vv1 finish the feature and when merging back in, resolve the concern?

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

Sidebar

Related Questions

first of all I'm totally new to FAST but I already have a couple
First of all I have to say I am new to iOS development. My
first of all: I'm new to Asp.Net MasterPages and jQuery. I have a Asp.Net
First of all, I'm new to Java. I'm trying to figure out what would
First of all, using delete for anything allocated with new[] is undefined behaviour according
First of all I am new to Mac. I am using a macbook pro
I'm using Django-social-auth for the first time, and it seems that all the new
First of all I have to inform you that I am new to Objective-C
First of all, I have to say I'm quite new to Java. I need
First of all, I'm using Rails3 with Ruby 1.9.2. I have a problem using

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.