Skip to content

Commit

Permalink
Remove recommendation to create a branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast committed Apr 12, 2016
1 parent d156201 commit f8e7856
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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/`
Expand Down

0 comments on commit f8e7856

Please sign in to comment.