Charlie Stelling

Working to end the revolving door of homelessness and having fun doing it.

Git Standoff

If your local changes would be overwritted by a merge this is how you handle it.

  • Stash Your Changes, This moves your edits into a tempoary storage area. git stash
  • Pull the update. git pull
  • pop the stash, this reapplies yoru chnages on to of the new code. git stash pop

If you dont care about your local changes
Git reset — hard origin/main

Commit the local change
git add deploy.sh
git commit -m “local updates to deply”

Pull the rest. git pull

Leave a Reply

Your email address will not be published. Required fields are marked *

About Me

Charlie Stelling

Tinkerer

Hello, im charlie a passionate tinkerer, who loves sharing ideas, stories, and experiences. I assist rough sleepers in transitioning into long-term, stable housing.

Follow Me

Connect with me and be part of my community.