---
name: "cg-branch-chg"
section: "1"
platform: "linux"
package: "cogito"
version: "0.18.2-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/cg-branch-chg"
---

# cg-branch-chg(1)

change an existing remote branch repository url

## NAME

cg-branch-chg - change an existing remote branch repository url

## SYNOPSIS

cg-branch-chg BRANCH\_NAME NEW\_LOCATION.sp

## DESCRIPTION

Takes the branch name and new source location as parameters..sp Terminology note: This command concerns remote branches, not the local ones (those managed by [**cg-switch**(1)](/cg-switch/1.md))..sp

## OPTIONS

- \-h, --help

  Print usage summary.

- \--long-help

  Print user manual. The same as found in [**cg-branch-chg**(1)](/cg-branch-chg/1.md).

## COPYRIGHT

Copyright © Petr Baudis, 2005.sp

## SEE ALSO

cg-branch-chg is part of [**cogito**(7)](/cogito/7.md), a toolkit for managing [**git**(7)](/git/7.md) trees..sp
