[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Vercel consistently deploys an old commit despite pushes to main

463 views · 3 likes · 8 posts


Jimmycode06 (@jimmycode06) · 2025-04-25

Hi
I’m having trouble with a project connected to my GitHub repository, Every time I push my latest commit to the **main** branch, Vercel does create a new deployment entry (with a new slug), but when I open that deployment the **Source** still shows the old commit 

thanks


Anshuman Bhardwaj (@anshumanb) · 2025-04-25

Hi @jimmycode06, welcome to the Vercel Community!

Sorry that you are facing this issue. If possible, can you share a screen recording of this so we can help you debug the issue?


Worldgamesdk (@worldgamesdk) · 2025-05-01

I'm experiencing the same.

Main is updated, but vercel insists on an old commit. I've tried removing the connection to the repo and recreating.

![not_head|690x462](upload://qEaGlIqe4ltrTUwAmc6u4ibwtTq.jpeg)


Worldgamesdk (@worldgamesdk) · 2025-05-01

Hmm. It appears that it's no longer allowed to push by another user than the owner. I've forced pushed with the owner, but it doesn't seem to fix it?

![image|551x76](upload://uqELn8wsFjW0ef1CQMTJeGausvO.png)


Jimmycode06 (@jimmycode06) · 2025-05-01 · ♥ 2

Hi , To make commits in Git, you need to tell Git who you are by setting your name and email — you can do this once using the following commands in your terminal:
`git config --global user.name "Your Name"`
`git config --global user.email "your@email.com"`

My problem was solve with that :)


Worldgamesdk (@worldgamesdk) · 2025-05-01 · ♥ 1

Thanks. It appears that I had an error in my vercel.json so this may also have caused problems?


Pauline P. Narvas (@pawlean) · 2025-05-01

Thanks for sharing this, Jimmy! I'd also recommend this if it hadn't worked already but it seems to be working for @worldgamesdk now :slight_smile:


system (@system) · 2026-01-20

Hey @jimmycode06! 👋

Just checking in on this thread. If you're still experiencing issues or have additional details to share, please let us know! We're here to help.