Skip to content

Git status says "up to date with origin/master" after changes, but this is not the case #23047

Discussion options

You must be logged in to vote

Ah, I see. First off, git won’t track empty directories, so that hi/ directory not showing up is fine. What happens if you create a file, or modify one that’s in the repository? Does git show mention that? If not, also look for a .gitignore file, if there is one. If your file matches any of the patterns in there it will be ignored.

For terms, “working tree” refers to the files you can, well, work on. New or edited files (or parts of them) on the working tree may then be added to the “index”, and committed.

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants