Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a better way to package this up #2

Open
frank-dspeed opened this issue Aug 29, 2022 · 1 comment
Open

Find a better way to package this up #2

frank-dspeed opened this issue Aug 29, 2022 · 1 comment

Comments

@frank-dspeed
Copy link
Member

this is a so called git module that means it depends on the fact that it self contains its own .git worktree

i need to invest into a better install method

{
  "name": "git-subrepo",
  "version": "0.0.0-pre.0",
  "bin": { "git-subrepo": "git-subrepo-cli.js" },
  "files": ["*.js"],
  "scripts": { "preinstall": "git init && git remote add origin https://github.com/stealify/git-subrepo.git && git pull origin master" }
}

will now go for init && add , && commit -m "npm"

@frank-dspeed
Copy link
Member Author

git reset --hard origin/master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant