From efc99f9e0096307f7ea9b9d8a8dd49f4887e7571 Mon Sep 17 00:00:00 2001 From: staszekscp Date: Mon, 16 Dec 2024 08:37:24 +0100 Subject: [PATCH] Change submodule URL to use SSH as default --- .gitmodules | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitmodules b/.gitmodules index 7b3a3d9f9432..59abf2448f1d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "Mobile-Expensify"] path = Mobile-Expensify - url = https://github.com/Expensify/Mobile-Expensify.git + url = git@github.com:Expensify/Mobile-Expensify.git diff --git a/README.md b/README.md index 8f7161b7fe96..61384793fd6e 100644 --- a/README.md +++ b/README.md @@ -457,11 +457,11 @@ You can only build HybridApp if you have been granted access to [`Mobile-Expensi 1. If you haven't, please follow [these instructions](https://github.com/Expensify/App?tab=readme-ov-file#getting-started) to setup the NewDot local environment. 2. Run `git submodule update --init --progress` to download the `Mobile-Expensify` sourcecode. -- If you have access to `Mobile-Expensify` and the command fails with a https-related error add this to your `~/.gitconfig` file: +- If you have access to `Mobile-Expensify` and the command fails, add this to your `~/.gitconfig` file: ``` - [url "ssh://git@github.com/"] - insteadOf = https://github.com/ + [url "https://github.com/"] + insteadOf = ssh://git@github.com/ ``` At this point, the default behavior of some `npm` scripts will change to target HybridApp: