github - separate git pull requests with different branches | How to git push a branch -


i forked , cloned repo local machine:

/sample_app 

i want submit 3 different pull requests original repo. far can tell way create seperate pull requests separate branches? confused sequence of commands here.

i ran:

git checkout -b firstbranch made changes... made changes.. git add . git commit -m "finished first feature" 

however when run:

git push 

i get:

everything up-to-date 

despite fact made bunch of changes on new branch(i can verify on new branch).

am supposed run other git push? on forked repo still see 1 master branch , no other branches.

after push gather need click on pull request button , select branch submit through pull request correct?

then can go command line , do:

git checkout master git checkout -b secondbranch  ##to create second branch second feature 

and repeat process, etc

am getting right?

how push branch can create branch specific pull request. not merging main branch.

your process right. need do:

git push  <remotename> <branchname>  

see here


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -