Last active
October 7, 2015 04:58
-
-
Save rafaelune/3109819 to your computer and use it in GitHub Desktop.
Creating .gitignore file through command line on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1 option | |
@echo off | |
( | |
echo *.log | |
echo local_settings.config | |
echo dir_name | |
) > .gitignore | |
#2 option | |
copy con .gitignore | |
*.log | |
local_settings.config | |
dir_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment