What's the unstaged changes in github?

github

Solution

Look at learn.github:

You need to:

- add your file to the index (`git add`),

- and commit it (`git commit -m "your modification comment"`),

- before pushing it (`git push`). See also "working with remotes")

So "unstaged changes" aren't linked to GitHub, but are local modifications on your local repo, which you haven't yet added to the index ("staged"), for a future commit.

Problem

I just changed the README file and want to sync it in github, but it always tells me "You cannot sync with unstaged changes". Could someone tell me what it is and how should I fix this?

Original source

Related problems