Skip to content

Commit 0c2bddb

Browse files
marcdumais-workbhufmann
authored andcommitted
[traceviewer-libs] correct git subtree push commands
In the subtree README, "git subtree push -p <subtree folder" was documented. Not sure where this came from, but my local git won't accept it, instead expecting: "git subtree push --prefix <subtree folder" Corrected in this commit. Signed-off-by: Marc Dumais <[email protected]>
1 parent 580f22f commit 0c2bddb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ git remote add traceviewer-libs [email protected]:eclipse-cdt-cloud/traceviewer-lib
8484
# assumption: remote for official repo is named "origin"
8585
git checkout master && git pull origin master
8686
# push the latest local library changes to the git subtree upstream:
87-
git subtree push -p <subtree folder> <subtree remote repo> <remote review branch>
87+
git subtree push --prefix <subtree folder> <subtree remote repo> <remote review branch>
8888
# more concrete example:
89-
git subtree push -p local-libs/traceviewer-libs traceviewer-libs update-from-vscode-trace-extension
89+
git subtree push --prefix local-libs/traceviewer-libs traceviewer-libs update-from-vscode-trace-extension
9090

9191
# Then create a PR from the freshly pushed branch "update-from-vscode-trace-extension".
9292
# If tweaks are necessary, e.g. to remove some changes that are only relevant to

0 commit comments

Comments
 (0)