Skip to main content

% git-auto-pull(1) Version 0.1.1 | git-auto-pull

git-auto-pull

DESCRIPTION

Integrate the changes from an upstream branch (ie stash if needed and pull)

ie pull auto-stash but with all pull type.

The AutoPull name is to stay in the same fashion as AutoCommit

SYNOPSIS

Easy AutoPull

git-pull

TIP

You can add it as alias in your ~.gitconfig Example with ap that stands for auto pull

[alias]
ap = "!git-auto-pull"

Note on Rebase AutoStash

Pull has also a rebase auto-stash option

git pull --rebase --autostash

This script does not care the type of change integration, it works also with a merge

You can also automate your git pull as --rebase --autostash via configuration.

git config [--global] pull.rebase true
git config [--global] rebase.autoStash true