github - Git Pull vs. Pull Request -


i'm new using git, apologize if trivial. have private repository set using github , egit.

to update , merge local repository branch remote version (essentially git pull), use team > pull in eclipse.

to merge branch into master branch, have request , subsequently approve pull request on github.

what difference between calling git pull , sending pull request?

i've seen related fork , pull collaborative development model , used code reviews. think understand motivation , usefulness of pull request, it?

if use git pull, pull changes remote repository yours.

if send pull request repository, ask maintainers pull changes theirs (you more or less ask them use git pull repository).

if maintainer of repository, seems you're making bit more difficult pretending you're playing 2 roles in workflow. might merge locally development branch master branch , push master branch github repository directly.

(as side note, if you're new git, i'd suggest using git fetch , git merge instead of git pull. git pull git fetch followed git merge, doing them separately gives better control on potential conflicts.)


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -