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.
- clone a repository that you want to contribute.
- open the cloned repository
- create a branch using git branch $ git branch branch1
- Now check out the newly created branch using git checkout command git checkout branch1
- git checkout -b branch1 creates a branch and checkout.
- make some changes to the repository.
- add the files git add .
- now commit git commit -m "hey this is some addition to the repo"
- now push your changes git push --set-upstream origin branch1
Thursday, March 19, 2020
git
github
opensource
0 Response to Sending pull request from command line
Comments are personally moderated by our team. Promotions are not encouraged.
Post a Comment