CopyPastor

Detecting plagiarism made easy.

Score: -1; Reported for: Open both answers

Possible Plagiarism

Plagiarized on 2017-01-30
by Faisal

Original Post

Original - Posted on 2014-08-22
by Ricardo Peres



            
Present in both answers; Present only in the new answer; Present only in the old answer;

git fetch origin git reset --hard origin/master git pull
Explanation above mentioned Command:
- [Fetch will download everything from another repository, in this case, the one marked as "origin".][1] - [Reset will discard changes and revert to the mentioned branch, "master" in repository "origin".][2] - [Pull will just get everything from a remote repository and integrate.][3]
See more about `git` documentation at http://git-scm.com/docs.

[1]: https://git-scm.com/docs/git-fetch [2]: https://git-scm.com/docs/git-reset [3]: https://git-scm.com/docs/git-pull
git fetch origin git reset --hard origin/master git pull
Explanation:
- Fetch will download everything from another repository, in this case, the one marked as "origin". - Reset will discard changes and revert to the mentioned branch, "master" in repository "origin". - Pull will just get everything from a remote repository and integrate.
See documentation at http://git-scm.com/docs.

        
Present in both answers; Present only in the new answer; Present only in the old answer;