From f8e7856030f96cad45f2199d91d62aed064efcb6 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Tue, 12 Apr 2016 13:25:20 -0700 Subject: [PATCH] Remove recommendation to create a branch. --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index de5effc04e8..1e423951f93 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,6 @@ git remote add java-repo-tools git@github.com:GoogleCloudPlatform/java-repo-tool git fetch java-repo-tools master ``` -To make it easier to push changes back upstream, create a new branch. - -``` -git checkout -b java-repo-tools java-repo-tools/master -``` - We can then go back to the `my-java-samples` code and prepare a Pull Request to add the `java-repo-tools` code in a subtree. @@ -54,7 +48,7 @@ git merge -s ours --no-commit java-repo-tools/master Finally, read the `java-repo-tools` into a subtree. ``` -git read-tree --prefix=java-repo-tools/ -u java-repo-tools +git read-tree --prefix=java-repo-tools/ -u java-repo-tools/master ``` Now all the content of `java-repo-tools` will be in the `java-repo-tools/`