I am very confused at the moment about my branch's staging.
I am on a branch called lazy-load
Git status
shows:
nothing to commit, working directory clean
git diff
and git diff --cached
show nothing.
But if I push to origin lazy-load
, a large number of files are pushed, almost the entire repo, including files deleted from the repo previously.
Where am I wrong? I've tried git rm --cached
and git reset HEAD
.
I can't seem to unstage files or even see staged files on the branch.