class Git::Commands::Pull
Implements the ‘git pull` command
Incorporates changes from a remote repository into the current branch. In its default mode, ‘git pull` is shorthand for `git fetch` followed by `git merge FETCH_HEAD`.
@example Pull from the default remote
pull = Git::Commands::Pull.new(execution_context) pull.call
@example Pull from a named remote
pull = Git::Commands::Pull.new(execution_context) pull.call('origin')
@example Pull a specific branch from a remote
pull = Git::Commands::Pull.new(execution_context) pull.call('origin', 'main')
@example Pull with rebase instead of merge
pull = Git::Commands::Pull.new(execution_context) pull.call('origin', rebase: true)
@example Pull with allow-unrelated-histories
pull = Git::Commands::Pull.new(execution_context) pull.call('origin', 'feature', allow_unrelated_histories: true)
@example Pull and suppress the merge-commit editor
pull = Git::Commands::Pull.new(execution_context) pull.call('origin', no_edit: true)
@note ‘arguments` block audited against
https://git-scm.com/docs/git-pull/2.53.0
@see git-scm.com/docs/git-pull git-pull
@see Git::Commands
@api private