up-to-date issue on GitHub - Ayush Shrestha || UI/UX || Front-end || Angular || React || Wordpress

up-to-date issue on GitHub

PROBLEMS ?

While you change in your file and you dont see you changed file in GitHub. in meanwhile if you do git push -u origin master and message will appear with Everything up-to-date and you still dont see any changes. than you can go below solutions. it will helps you to further steps.

Solutions :

This happened to me when my SourceTree application crashed during staging. And on the command line, it seemed like the previous git add had been corrupted. If this is the case, try:

This happened to me when my SourceTree application crashed during staging. And on the command line, it seemed like the previous git add had been corrupted. If this is the case, try:

git init
git add -A
git commit -m 'Fix bad repo'
git push

On the last command, you might need to set the branch.

git push --all origin master

Bear in mind that this is enough if you haven’t done any branching or any of that sort. In that case, make sure you push to the correct branch like git push origin develop.

Related Blogs

Leave a Reply