Hello I want to add these files to .gitgnore in order to clean the server how can I do that The files are robots.txt robots/

.gitgnore is on project directory Sorry I am still beginner at that Thanks in advance

  • 1
    I'm voting to close this question as off-topic
    – Jarnail S
    Commented Dec 26, 2019 at 16:17

1 Answer 1


You can generate .gitignore file from here also.

Your file /robots.txt file is alreday added in .gitignore file

  • /robots.txt is just fake one you mean I add in a line the name of the file I need Commented Dec 24, 2019 at 12:09
  • Yes, you can add. Once adding file, you can review by git status command. Commented Dec 24, 2019 at 12:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.