search

Home  >  Q&A  >  body text

Can git status display the status of files in .gitignore?

Use the command: git status in the terminal.
Can you display the status of files in .gitignore?
.gitignore:

git status:

巴扎黑巴扎黑2790 days ago758

reply all(4)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:53:19

    The ignored items in the .gitignore file will not be displayed.

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:53:19

    It’s okay, even if git is displayed, it will not be submitted when you push it, don’t worry

    reply
    0
  • 高洛峰

    高洛峰2017-05-02 09:53:19

    There is a command that can also be seen, git status --help view options, you can see related commands

    reply
    0
  • 为情所困

    为情所困2017-05-02 09:53:19

    Some files will be seen by git status even if they are written in gitignore

    reply
    0
  • Cancelreply