Reputation: 105
Basically I changed a few files in Notepad++ but it wont show up in Github for Windows.
I have tried reinstalling, Restarting pc and constantly re-cloning into different parts on my pc.
Nothing seems to do anything
Upvotes: 6
Views: 22939
Reputation: 1
save file in vscode , then try to see the changes in the github desktop , there u might be able to the changes . Also make sure to reinstall git and git hub if the problem still persists .
Upvotes: -3
Reputation: 1323303
Check in command line if you have a .gitignore
rule that ignores those changes
cd /path/to/my/repo
git check-ignore -v -- afile
It can be a local .gitignore
, or a global one.
The other possibility is if you are in a detached HEAD.
Check the output of git branch
.
Finally, check again how to work with a local repo with GitHub Desktop: the comments below show that:
git status
git add .
git commit -m "add changes"
All this work as expected from command line.
The OP Shiny adds in the comments:
Seems like a bug I need to report to Github, But basically I set my username of my PC to "
{Shiny}
" and it seems if "{}
" is in the path it glitches it out.
That is why I always recommend starting with simpler path: C:\git\myrepo
, just to validate that it works there.
Upvotes: 9