It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
There is a public repo A on github. I have cloned it as B on github.
Using SourceTree, I have cloned it locally.
What I want to do is make some changes D, E, F and send pull requests to original repo A.
However, if I make commit D and push to B, then create a pull request to A, then make commit E and push to B and then create a pull request to A, then the second pull request includes both D and E, which is problematic.
I imagine that this could be resolved by using branches, but not sure how.
Also, in SourceTree if I create a branch, then it doesn't seem like additional files are created in local clone - so how do I know which branch I am working in?
Okay, so lets say I create 3 new branches, and work on 3 ideas. Then, to create a pull request for A, do I need to merge these requests into master branch of B (which would probably create the same problem as not having branches) or can I send pull requests to upstream directly from branches C, D, and E?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can have a PR from C, D, E in your fork to the master branch in the original repo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.