hack のためのネタ帳, etc,,,

タグ検索でshallow2件見つかりました。

20211021: git - local repos の shallow/unshallow 化

* まとめ local repos の shallow/unshallow 化は以下のようにすれば良い。 =|| # shallow 化 git fetch --depth 1 origin HEAD git branch | xargs git branch -d git branch -r | xargs git branch -r -d git tag | xargs git tag -d git gc --prune=now ||= =|| # unshallow 化 git fetch --un…

https://seesaawiki.jp/w/kou1okada/d/20211021%3a%20... - 2021年10月21日更新

20211018: git - commit hash 値で shallow clone

HA-1 hash 値による直接指定で shallow clone (git clone --depth 1) したい。 ところが git clone には branch や tag を指定するオプションはあるが、生のハッシュ値を指定するオプションがない。 * 解法 「[[git clone commithash shallow>https://google.com/search?q=git+clone+commithash+shallow]]」とかでググってみたところ、以下のページを見つけた。 …

https://seesaawiki.jp/w/kou1okada/d/20211018%3a%20... - 2021年10月21日更新

ai(22) android(29) bash(40) c++(52) cxx(54) cygwin(128) debian(39) deeplearning(32) diary(766) excel(21) font(30) free-book(47) git(21) github(28) gnu-r(77) google(26) hdd(22) html(25) java(26) javascript(121) keyboard(21) latex(57) lcd(22) library(24) linux(97) machinelearning(31) memo(463) microsoft(42) oss(25) pdf(38) powershell(65) programming(32) proxy(24) python(100) r-lang(47) ruby(86) security(72) ssh(34) tex(37) tips(398) troubleshooting(443) ubuntu(114) unicode(22) usb(21) virtualization(24) vscode(29) windows(127) windows10(50) wsl(26) zfs(32)

管理人/副管理人のみ編集できます