mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +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
|