Skip to content

Commit 4454077

Browse files
[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 <marc.dumais@ericsson.com>
1 parent 1f80044 commit 4454077

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

local-libs/traceviewer-libs/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 git@github.com: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)