LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-continue

Resume the in-progress rebase, merge, cherry-pick, or revert

TLDR

Continue whichever operation is currently paused
$ git continue
copy

SYNOPSIS

git continue

DESCRIPTION

git continue is a git-extras command that resumes whichever operation Git currently has paused, without you needing to remember or look up the exact command.It checks the repository's git-dir for the state files Git leaves behind mid-operation (CHERRY_PICK_HEAD, MERGE_HEAD, REBASE_HEAD, REVERT_HEAD) to work out whether a cherry-pick, merge, rebase, or revert is in progress, then runs the matching --continue for it, e.g. git rebase --continue.The same script also implements git-abort (installed as a second name pointing at the same file): it picks its behavior by inspecting its own invoked name, running --abort instead of --continue for whichever operation is detected.

INSTALL

sudo apt install git
copy
sudo dnf install git
copy
sudo pacman -S git
copy
sudo apk add git
copy
sudo zypper install git
copy
brew install git
copy
nix profile install nixpkgs#git
copy

CAVEATS

Errors out with "No active operation found" if nothing is paused, and lists all of them if it somehow detects more than one. Conflicts must still be resolved and staged yourself before continuing; this command only saves you from typing the operation-specific continue command. Requires git-extras to be installed.

HISTORY

git continue is part of git-extras, the community-maintained collection of Git utility scripts.

SEE ALSO

RESOURCES

Copied to clipboard
Kai