Sending pull request from command line | extrovert.dev -->

Sending pull request from command line

Sending pull request from command line
Thursday, March 19, 2020

Well! Many of the starters in the opensource world would love to add their ideas and resolve problems that exist in an opensource project. PR's (PULL REQUEST) help us to do that. So let's send our first PR.
                                 Sending pull request from command line
  1. clone a repository that you want to contribute.
  2. open the cloned repository
  3. create a branch using git branch  $ git branch branch1
  4.  Now check out the newly created branch using git checkout command git checkout branch1
  5. git checkout -b branch1 creates a branch and checkout.
  6. make some changes to the repository.
  7. add the files git add .
  8. now commit git commit -m "hey this is some addition to the repo"
  9. now push your changes git push --set-upstream origin branch1  

0 Response to Sending pull request from command line

Comments are personally moderated by our team. Promotions are not encouraged.

Post a Comment