I am trying to create a global .gitignore file with this command:
touch ~/.gitignore
but in my terminal (Cmder) gives this message: "touch: cannot touch '~/.gitignore': No such file or directory"
I have changed to windows terminal default (Command Prompt) and it says: "'touch' is not recognized as an internal or external command, operable program or batch file."
What I am doing wrong or what can I do to solve this?