How to use gitignore command in git

前端 未结 7 892
天命终不由人
天命终不由人 2021-01-29 18:27

I\'m working first time on git. I have pushed my branch on github and it pushed all the library and documents into the github. Now what can I do and how can I use gitignore comm

7条回答
  •  渐次进展
    2021-01-29 18:41

    If you dont have a .gitignore file, first use:

    touch .gitignore
    

    then this command to add lines in your gitignore file:

    echo 'application/cache' >> .gitignore
    

    Be careful about new lines

提交回复
热议问题