Answers for "how to create a file using git bash"

19

how to create a file using git bash

# syntax
touch <new-file-name>

# example
touch NewFile_1.txt

# -----------------------------------------------------
# FOR CREATING MULTIPLE FILES

# syntax
touch <1st-file-name> <2nd-file-name> ... <Nth-file-name>

# example
touch NewFile_1.txt NewFile_2.txt NewFile_3.txt
Posted by: Guest on April-28-2020
2

create a new file in git bash

touch file.extension
Posted by: Guest on November-12-2020

Code answers related to "how to create a file using git bash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language