mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-15 19:04:57 +01:00
7 lines
256 B
Text
7 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
|