what is touch instead command in windows code example
Example 1: touch command not recognized in windows
type nul > your_file.txt
Example 2: touch command in windows
type nul > .gitignore ---This creates empty file and works on windows 10.
type nul > your_file.txt
type nul > .gitignore ---This creates empty file and works on windows 10.