Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository inconsistent just after cloning #2

Open
andreygursky opened this issue Oct 6, 2017 · 0 comments
Open

Repository inconsistent just after cloning #2

andreygursky opened this issue Oct 6, 2017 · 0 comments

Comments

@andreygursky
Copy link

$ git clone git://github.com/DrYak/disphelper.git
Cloning into 'disphelper.git'...
remote: Counting objects: 159, done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 159 (delta 79), reused 159 (delta 79), pack-reused 0
Receiving objects: 100% (159/159), 144.89 KiB | 335.00 KiB/s, done.
Resolving deltas: 100% (79/79), done.
$ cd disphelper
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   samples_c/_dev_cpp_compile.bat

no changes added to commit (use "git add" and/or "git commit -a")
$

Nothing helps:

  • git checkout -- samples_c/_dev_cpp_compile.bat
  • git rest --hard

The file has mixed line endings:

$ file samples_c/_dev_cpp_compile.bat
samples_c/_dev_cpp_compile.bat: ASCII text, with CRLF, LF line terminators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant