Compare commits
3 Commits
eee1540ece
...
7ccdef1c10
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ccdef1c10 | |||
| 71dfa50107 | |||
| ac0d0ba2b2 |
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -7,3 +7,6 @@
|
|||||||
[submodule "tests/test_helper/bats-assert"]
|
[submodule "tests/test_helper/bats-assert"]
|
||||||
path = tests/test_helper/bats-assert
|
path = tests/test_helper/bats-assert
|
||||||
url = https://github.com/bats-core/bats-assert.git
|
url = https://github.com/bats-core/bats-assert.git
|
||||||
|
[submodule "docs/wiki"]
|
||||||
|
path = docs/wiki
|
||||||
|
url = git@git.dev.rkdr.net:Defame1297/holocron.wiki.git
|
||||||
|
|||||||
@@ -5,3 +5,9 @@
|
|||||||
- Commit messages explain why, not what. Written for both humans and changelog generators.
|
- Commit messages explain why, not what. Written for both humans and changelog generators.
|
||||||
- Never commit secrets, credentials, or environment-specific config.
|
- Never commit secrets, credentials, or environment-specific config.
|
||||||
- Use conventional commits: `feat:`, `fix:`, `docs:`, `chore:`, `refactor:`, `test:`
|
- Use conventional commits: `feat:`, `fix:`, `docs:`, `chore:`, `refactor:`, `test:`
|
||||||
|
|
||||||
|
## Submodules
|
||||||
|
|
||||||
|
- When working with submodules: commit and push the submodule first, then update and push the parent repo. Pushing the parent while the submodule commit doesn't exist on the remote breaks `git submodule update` for anyone who pulls.
|
||||||
|
- Always use `rtk git` for parent repo operations; drop into the submodule directory for submodule-specific git commands.
|
||||||
|
- After adding a submodule, check `git status` in both the parent and the submodule — a `-dirty` flag means the submodule has uncommitted local changes that need to be committed before the parent pointer is updated.
|
||||||
|
|||||||
1
docs/wiki
Submodule
1
docs/wiki
Submodule
Submodule docs/wiki added at fb250da943
Reference in New Issue
Block a user