logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

git-branchmove - move branches to or from a remote

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.

perl v5.40.0                                       2025-01-12                                  GIT-BRANCHMOVE(1)

Description

       Move branches matching pattern to or from git remote remote.

Name

       git-branchmove - move branches to or from a remote

Options

--detach|-d
           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.

Synopsis

git-branchmove [--detach|-d] get|putremotepattern...

See Also