git-reparent-branch 416 B

12345678910
  1. #!/usr/bin/env bash
  2. # Copyright 2014 The Chromium Authors. All rights reserved.
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. # git_reparent_branch.py -- Change the parent (upstream) branch of the current
  6. # branch. Afterwards, run a `git rebase-update` cycle to ensure that all
  7. # branches correctly reflect their parentage.
  8. . $(type -P python_git_runner.sh)