Sunday, May 18, 2014

GitBash

.gitignore


git touch .gitignore

vi .gitignore

i (for insert)

type text

escape

:q to quit vi
:wq to save and quit vi

cat .gitignore to read .gitignore

other


.git add <name>
.git add -A (adds all in dir)

No comments:

Post a Comment