Scroll to navigation

GIT-BRANCHMOVE(1) User Contributed Perl Documentation GIT-BRANCHMOVE(1)

NAME

git-branchmove - move branches to or from a remote

SYNOPSIS

git-branchmove [--detach|-d] get|put remote pattern...

DESCRIPTION

Move branches matching pattern to or from git remote remote.

OPTIONS

If the move would delete the currently checked out branch in the source repository, attempt to detach HEAD first.

Note that in the case of the get operation, the attempt to detach HEAD is somewhat fragile. You will need unrestricted SSH access to the remote, and pushInsteadOf git configuration keys will not always be expanded, due to limitations in git.

AUTHOR

This Perl version of git-branchmove was written by Sean Whitton <spwhitton@spwhitton.name>, based on an earlier shell script by Ian Jackson. That script made some assumptions that we try to avoid, for compatibility with more git remotes and local git configurations.

2022-08-21 perl v5.34.0