Created
July 29, 2026 21:59
-
-
Save mon-jai/e579efd18786705606763ee9e98a2ba8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~ > mkdir temp | |
| ~ > cd temp | |
| ~ / temp > git init | |
| Initialized empty Git repository in C:/Users/Mon/temp/.git/ | |
| ~ / temp > git submodule add https://github.com/github/.github submodule | |
| Cloning into 'C:/Users/Mon/temp/submodule'... | |
| remote: Enumerating objects: 115, done. | |
| remote: Counting objects: 100% (59/59), done. | |
| remote: Compressing objects: 100% (23/23), done. | |
| remote: Total 115 (delta 44), reused 36 (delta 36), pack-reused 56 (from 1) | |
| Receiving objects: 100% (115/115), 40.24 KiB | 312.00 KiB/s, done. | |
| Resolving deltas: 100% (46/46), done. | |
| warning: in the working copy of '.gitmodules', LF will be replaced by CRLF the next time Git touches it | |
| ~ / temp > git commit -am "Initial commit" | |
| warning: in the working copy of '.gitmodules', LF will be replaced by CRLF the next time Git touches it | |
| [main (root-commit) c73d0e4] Initial commit | |
| 2 files changed, 4 insertions(+) | |
| create mode 100644 .gitmodules | |
| create mode 160000 submodule | |
| ~ / temp > git remote add origin https://github.com/mon-jai/submodule-bug.git | |
| ~ / temp > git branch -M main | |
| ~ / temp > git push -u origin main | |
| Enumerating objects: 3, done. | |
| Counting objects: 100% (3/3), done. | |
| Delta compression using up to 12 threads | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 320 bytes | 320.00 KiB/s, done. | |
| Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) | |
| To https://github.com/mon-jai/submodule-bug.git | |
| * [new branch] main -> main | |
| branch 'main' set up to track 'origin/main'. | |
| ~ / temp > 07/30/2026 05:58:36 AM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment