Index: git-reparent-branch-root |
diff --git a/git-root b/git-reparent-branch-root |
similarity index 88% |
copy from git-root |
copy to git-reparent-branch-root |
index 83775c0a98f3db5800c196f5ecec35f6174c146c..825b005f7abaf9c25406b3a830c81a1f8310c823 100755 |
--- a/git-root |
+++ b/git-reparent-branch-root |
@@ -4,4 +4,4 @@ |
# found in the LICENSE file. |
UPSTREAM=$(git config depot_tools.upstream 2>/dev/null || echo origin/master) |
-git checkout "$UPSTREAM" |
+git reparent-branch "$UPSTREAM" |