What is the red arrow to the left of the line numbers on Atom?

前端 未结 1 1312
野的像风
野的像风 2021-01-03 17:33

What does the red arrow --seen between lines 95 and 96 in the screenshot below-- mean on GitHub\'s Atom editor?

Thanks!

相关标签:
1条回答
  • 2021-01-03 18:31

    If your currently open project is using Git as a revisioning system, the arrow in the gutter means that you deleted one or more lines at this location in the file.

    If you commit (or roll back) your changes, the arrow is going to disappear.

    Running a "git diff" on your file should show that you deleted some content between lines 95 and 96.

    Depending on the theme you're using in Atom, the arrow's color might be different from the one in the screenshot.

    0 讨论(0)
提交回复
热议问题