pull
- Usage:
java gitlet.Main pull [remote name] [remote branch name]
- Description: Fetches branch
[remote name]/[remote branch name]
as for thefetch
command, and then merges that fetch into the current branch. - Failure cases: Just the failure cases of
fetch
andmerge
together. - Dangerous? Yes!