Github: I can't get out of LF errors, CRLF



  • Recently started studying GitHub, faced a problem like this: The directory is, the file is in there, my actions are on the picture. File made a notepad++++.

    fatal: pathspec did not match any files

    What is it?

    gitProblem



  • Problem is finishing the file. Win and Linux are different.

    Use something like that. https://stackoverflow.com/questions/7068179/convert-line-endlings-for-whole-directory-tree-git/7068241#7068241 or http://stahlworks.com/dev/index.php?tool=remcrlf to make the mistake disappear.

    Or try something like that:

    git config core.autocrlf false
    

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2