File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,6 @@ git remote add java-repo-tools git@github.com:GoogleCloudPlatform/java-repo-tool
27
27
git fetch java-repo-tools master
28
28
```
29
29
30
- To make it easier to push changes back upstream, create a new branch.
31
-
32
- ```
33
- git checkout -b java-repo-tools java-repo-tools/master
34
- ```
35
-
36
30
We can then go back to the ` my-java-samples ` code and prepare a Pull Request to
37
31
add the ` java-repo-tools ` code in a subtree.
38
32
@@ -54,7 +48,7 @@ git merge -s ours --no-commit java-repo-tools/master
54
48
Finally, read the ` java-repo-tools ` into a subtree.
55
49
56
50
```
57
- git read-tree --prefix=java-repo-tools/ -u java-repo-tools
51
+ git read-tree --prefix=java-repo-tools/ -u java-repo-tools/master
58
52
```
59
53
60
54
Now all the content of ` java-repo-tools ` will be in the ` java-repo-tools/ `
You can’t perform that action at this time.
0 commit comments