mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-22 20:32:38 +01:00
8 lines
256 B
Text
8 lines
256 B
Text
|
BLOB=$(echo "I am precious" | git hash-object -w --stdin)
|
||
|
git update-index --add --cacheinfo 100644,$BLOB,a
|
||
|
git write-tree
|
||
|
git update-index --force-remove a
|
||
|
git update-index --add --cacheinfo 100644,$BLOB,b
|
||
|
git write-tree
|
||
|
git update-index --force-remove b
|