https://github.com/bitliner/lerna-subtree
Manage lerna with git subtree
https://github.com/bitliner/lerna-subtree
Last synced: 5 months ago
JSON representation
Manage lerna with git subtree
- Host: GitHub
- URL: https://github.com/bitliner/lerna-subtree
- Owner: bitliner
- License: apache-2.0
- Created: 2017-12-12T11:23:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T14:22:03.000Z (over 8 years ago)
- Last Synced: 2025-07-18T14:52:31.750Z (12 months ago)
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lerna-subtree
Manage lerna with git subtree
# Proposal
A list of commands to help manage lerna sub-projects with git subtree.
Commands:
- **lerna-subtree add **
1. it runs command `git remote add subtree- ` if remote does not exist
2. it runs `git subtree add --prefix=packages/ subtree- `
- **lerna-subtree publish**
1. it runs `lerna publish`
2. it runs, for each sub-tree, `git subtree --prefix=packages/ push subtree- --all`