From 20184d4a16651e796893bc7e7f6307a3a6e5741a Mon Sep 17 00:00:00 2001 From: kyu08 <49891479+kyu08@users.noreply.github.com> Date: Mon, 2 Sep 2024 13:38:13 +0900 Subject: [PATCH] =?UTF-8?q?`git-fork-clone`=E3=81=AE`--depth=3D1`=E3=82=92?= =?UTF-8?q?`--filter=3Dblob:none`=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/posts/gh-repo-fork-script/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/gh-repo-fork-script/index.md b/content/posts/gh-repo-fork-script/index.md index 3b2e818..8b877de 100644 --- a/content/posts/gh-repo-fork-script/index.md +++ b/content/posts/gh-repo-fork-script/index.md @@ -43,7 +43,7 @@ function git-fork-clone() { echo "🐙 ${REPO} will be forked and cloned.\\n" # -- 以降のオプションはgit cloneに渡される # See: https://cli.github.com/manual/gh_repo_fork - gh repo fork ${REPO} --default-branch-only --clone=true -- --depth=1 + gh repo fork ${REPO} --default-branch-only --clone=true -- --filter=blob:none } alias gf=git-fork-clone ```