mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
git-submodule-workflow.md edited online with Bitbucket
This commit is contained in:
parent
8a0ac74da0
commit
a4389ce985
@ -18,10 +18,10 @@
|
|||||||
export default MyComponent;
|
export default MyComponent;
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Commit and push to your newly created repository
|
3. Open a shell and go to `cd onion/node_modules`
|
||||||
4. Open `.gitignore` and add your future package folder to *NOT* to be ignored by git `!node_modules/<my-repository-name>`
|
4. Commit and push to your newly created repository
|
||||||
5. Copy the repository's SSH link from bitbucket
|
5. Open `.gitignore` and add your future package folder to *NOT* to be ignored by git `!node_modules/<my-repository-name>`
|
||||||
6. Open a shell and go to `cd onion/node_modules`
|
6. Copy the repository's SSH link from bitbucket
|
||||||
7. Do `git submodule add <your-ssh-link>`
|
7. Do `git submodule add <your-ssh-link>`
|
||||||
8. Git will clone the repository and add it to `node_modules`
|
8. Git will clone the repository and add it to `node_modules`
|
||||||
9. open `package.json` inside of onion and adjust the `browser` field
|
9. open `package.json` inside of onion and adjust the `browser` field
|
||||||
|
Loading…
Reference in New Issue
Block a user