From fdbcd1ad88c15e966c934ff387c807e900372990 Mon Sep 17 00:00:00 2001 From: Lup Yuen Lee Date: Sat, 21 Dec 2024 12:32:44 +0800 Subject: [PATCH] Switch to SSH --- .gitignore | 1 + sync-mirror-to-update.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0b9bf76..be6a401 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /forgejo +/data.tar diff --git a/sync-mirror-to-update.sh b/sync-mirror-to-update.sh index 92a8c4d..d8d049d 100755 --- a/sync-mirror-to-update.sh +++ b/sync-mirror-to-update.sh @@ -14,7 +14,7 @@ rm -rf $tmp_dir mkdir $tmp_dir cd $tmp_dir git clone https://nuttx-forge.org/nuttx/nuttx-mirror upstream -git clone https://nuttx-forge.org/nuttx/nuttx-update downstream +git clone git@nuttx-forge:nuttx/nuttx-update downstream ## Find out which Commit to begin pushd downstream @@ -34,6 +34,7 @@ popd pushd downstream ## git am \ ## $tmp_dir/commit.patch +git status popd ## Commit the Patched Downstream Repo