Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hjortur17's avatar

Not same content on my server and my local site

Hi, I'm using Laravel Forge to upload my laravel project and when I push to Github the site changes. But I noticed that some content isn't the same online and on my local site. I've tried to push but GitHub says "Nothing to commit"

Any ideas how to fix this?

0 likes
8 replies
click's avatar

"content"

What content? Images? Texts?

1 like
Nash's avatar

Have you compiled your stylesheets with npm run production and are you using versioning/cache busting? If not, you may need to clear your browser cache.

Cronix's avatar
Cronix
Best Answer
Level 67

Also make sure you're deploying the correct git branch. You might be committing to development branch while the site is running on master branch or something.

2 likes
click's avatar

Being more specific when posting a problem would help increase the speed your issue is solved.

What texts? Text in a template? Text in the database? Text from a language file? Text from the bible? Text from... your diary? What texts?

hjortur17's avatar

Thanks, guys. I was pushing to the wrong branch

Please or to participate in this conversation.