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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.