blob: b364e36b61841117a6034265250606a193b6de50 [file] [log] [blame]
iannucci@chromium.orgc050a5b2014-03-26 06:18:50 +00001#!/bin/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
6# git_reparent_branch.py -- Change the parent (upstream) branch of the current
7# branch. Afterwards, run a `git rebase-update` cycle to ensure that all
8# branches correctly reflect their parentage.
9
10. $(type -P python_git_runner.sh)