Skip to content

Commit

Permalink
Using subrepo
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Dec 29, 2023
1 parent 08fd44f commit 2e2dfc4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ export async function run(): Promise<void> {

//git subtree push --prefix subtreeDirectory https://github.com/newfivefour/vimrc.git master

Check failure on line 12 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Insert `····`

await git.raw("subtree", "push", "--prefix", "kmp", `[email protected]:kpgalligan/SharedKotlin.git`, "wownoteasy")
/*
git clone https://github.com/ingydotnet/git-subrepo /path/to/git-subrepo
echo 'source /path/to/git-subrepo/.rc' >> ~/.bashrc
*/

await git.raw("subrepo", "push", "kmp", "-b", "tryingsubrepo")

Check failure on line 19 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Replace `"subrepo",·"push",·"kmp",·"-b",·"tryingsubrepo"` with `'subrepo',·'push',·'kmp',·'-b',·'tryingsubrepo'`
} catch (error) {
// Fail the workflow run if an error occurs
if (error instanceof Error) core.setFailed(error.message)
Expand Down

0 comments on commit 2e2dfc4

Please sign in to comment.