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
In GitHub Desktop, use the Current Branch drop-down, and select the local branch you want to update. To pull any commits from the remote branch, click Pull origin or Pull origin with rebase. Resolve any merge conflicts in your preferred way, using a text editor, the command line, or another tool.
On GitHub, navigate to the main page of the forked repository that you want to sync with the upstream repository. Select the Sync fork dropdown. Review the details about the commits from the upstream repository, then click Update branch.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With