Creating .gitignore file through command line on Windows
Here's a sample command line to create .gitignore files.
@echo off
(
echo *.log
echo localsettings.config
echo dirname
) > .gitignore
And if you wanna see your command line back to normal again.
@echo on
Update
'@copy con .gitignore' then type your lines, Ctrl-Z, Enter. Works too!
Thanks @traeblain
Written by Rafael Kiyohiro Une
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Command line
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#