Is this possible to commit a file that don’t exist on filesystem on git ?
Exemple :
git add “hello world” “hello.txt”
I want to add hello world in the file hello.txt but i don’t want to write hello.txt on my filesystem.
hello.txt don’t exist and i don’t want it to exist except on the git system.
(i don’t want to write this file on my filesystem).
Is there a way to do this ?
Regards
Bussiere
Yes, you can do something like this.