Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: git-reparent-branch

Issue 184253003: Add git-reup and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@freeze_thaw
Patch Set: fix pylint Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « git-rename-branch ('k') | git-squash-branch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-reparent-branch
diff --git a/git-reparent-branch b/git-reparent-branch
new file mode 100755
index 0000000000000000000000000000000000000000..397bb69d2e24888d381855df552bd286cd34e846
--- /dev/null
+++ b/git-reparent-branch
@@ -0,0 +1,10 @@
+#!/bin/bash
+# Copyright (c) 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# git_reparent_branch.py -- Change the parent (upstream) branch of the current
+# branch. Afterwards, run a `git rebase-update` cycle to ensure that all
+# branches correctly reflect their parentage.
+
+. $(type -P python_git_runner.sh)
« no previous file with comments | « git-rename-branch ('k') | git-squash-branch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698