Jonathan Chiou
Jonathan Chiou

Reputation: 359

github is not updating changes

I'm trying to push changes onto my github repo. Every time I do, it says that everything is up to date, but when I actually look through my repo, nothing is updated. I've googled it, but none of the solutions that have popped up have done anything.

Upvotes: 0

Views: 178

Answers (1)

codebased
codebased

Reputation: 7073

Make sure that you have first committed changes by

git add --all
git commit -m "Changes"

And then you should be able to push.

Otherwise, you should also first try to pull latest changes from the server.

Make sure that after every command you have not received any error. If so please post this here.

Also check that a correct origin has been configured.

If referential integrity has been broken:

git config --get remote.origin.url

If referential integrity is intact:

git remote show origin

Upvotes: 1

Related Questions