Skip to content

Commit

Permalink
env: replace git submodule url as http to prevent failure to fetch wi…
Browse files Browse the repository at this point in the history
…thout github account
  • Loading branch information
edy555 committed Sep 26, 2019
1 parent 9508ea7 commit 0abe3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "ChibiOS"]
path = ChibiOS
url = git@github.com:edy555/ChibiOS.git
branch = I2SFULLDUPLEX
url = https://github.com/edy555/ChibiOS.git
branch = I2SFULLDUPLEX

1 comment on commit 0abe3e0

@dhallmark
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a github account and have tried to follow the Readme instruction using "git submodule update --init --recursive" both with the https and the ssh urls present in .gitmodules, and neither seemed to work. The clone operation starts, creates the output subdirectory, but never retrieves any objects.


turek:nanovna dgh$ git clone https://github.com/ttrftech/NanoVNA.git && cd NanoVNA
Cloning into 'NanoVNA'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 1202 (delta 6), reused 14 (delta 6), pack-reused 1182
Receiving objects: 100% (1202/1202), 1.03 MiB | 84.00 KiB/s, done.
Resolving deltas: 100% (842/842), done.
turek:NanoVNA dgh$ git submodule update --init --recursive
Submodule 'ChibiOS' (https://github.com/edy555/ChibiOS.git) registered for path 'ChibiOS'
Cloning into '/Users/dgh/software/ham_software/nanovna/NanoVNA/ChibiOS'...

I had to manually clone ChibiOS into the appropriate submodule location and check out the correct branch/commit. I recently upgraded to macOS Catalina and had to reinstall the xcode tools for git to operate so this may be an issue specific to this environment.

Please sign in to comment.