GitHub for Windows says that there are uncommited changes even though the diffs are empty

I am using the GitHub for Windows client, now it seems to state that there are uncommited changes even though the diffs are empty.

I already tried to commit the empty diffs but i still get the same thing over and over again.

  • Jenkins error performing git command
  • Use TortoiseGit with multiple GitLab accounts
  • Git equivalent of subversion's $URL$ keyword expansion
  • How do I fast foward branches without switching to them?
  • GIT Pull deleted my commit
  • make git branch the master branch
  • I typed git status in the Shell and this is what I got:

    C:\Users\Nicholas\Documents\GitHub\Vesper.next [master +0 ~6 -0]> git status
    On branch 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:   LICENSE.txt
    modified:   README.md
    modified:   v.next/css/ext-styleNext.css
    modified:   v.next/js/ext-globalVariables.js
    modified:   v.next/js/modernizr.js
    modified:   v.next/js/numeric.js
    
    no changes added to commit (use "git add" and/or "git commit -a")
    C:\Users\Nicholas\Documents\GitHub\Vesper.next [master +0 ~6 -0]>
    

    This is the output of git diff:

    C:\Users\Nicholas\Documents\GitHub\Vesper.next [master +0 ~6 -0]> git diff
    warning: LF will be replaced by CRLF in LICENSE.txt.
    The file will have its original line endings in your working directory.
    warning: LF will be replaced by CRLF in README.md.
    The file will have its original line endings in your working directory.
    warning: LF will be replaced by CRLF in v.next/css/ext-styleNext.css.
    The file will have its original line endings in your working directory.
    warning: LF will be replaced by CRLF in v.next/js/ext-globalVariables.js.
    The file will have its original line endings in your working directory.
    warning: LF will be replaced by CRLF in v.next/js/modernizr.js.
    The file will have its original line endings in your working directory.
    warning: LF will be replaced by CRLF in v.next/js/numeric.js.
    The file will have its original line endings in your working directory.
    

  • Error when deploying app to Heroku
  • Can git automatically switch between spaces and tabs?
  • Visual Studio - AppBuilder - Git Hub - .sou file issue
  • Migrate bazaar to git with commit-properties to link bugs fixed
  • Why does git commit after a merge by default?
  • When to use leading slash in gitignore
  • One Solution collect form web for “GitHub for Windows says that there are uncommited changes even though the diffs are empty”

    The reason for this is git’s feature to automatically convert between the different line endings, this is usually undesirable as the editor takes care of this anyway.

    You can disable the feature using:

    git config core.autocrlf false
    

    And reset the changes using:

    git reset --hard # This will reset any changes in your working directory, make sure to save the important changes.
    
    Git Baby is a git and github fan, let's start git clone.