I have my portfolio deployed to my account on a.github.io.
I made some changes but they're not going live on the website. In fact, even though I make changes on visual studio, the commit section does not show any commits.
If i commit changes, I get
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
modified: node_modules/gh-pages/.cache/github.com!a!a.github.io.git (new commits)
no changes added to commit
even though I am making changes.
So my changes aren't going live.
Edit:
Now, the commit worked but I get this when I push changes:
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/a/a.github.io.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.