Git pull from heroku
I’d like to have these changes also locally.
When i try to pull from heroku i get the message:
But I don’t have these changes locally
3 Solutions collect form web for “Git pull from heroku”
It’s normal to get the Already up-to-date message, since the remote changes weren’t commit and pushed.
Since you cannot commit and push from Heroku, you need work locally and then deploy. And that’s how you should work at first place.
What did you change with the template editor? Probably configuration, and not code right? So if you do a pull from Heroku, you’re not going to see changes? (I’m not familiar with wordpress – but I doubt the template changes result in code changes). So I guess I’m hypothesising that it’s right: there are no changes.
Perhaps what you really want are database changes?
By the way, you can now clone a Heroku app with the new
git branch -r --no-merged return? If it returns any branches, it means those branches have changes you don’t have in the current branch yet. Merge them to get the changes.
Otherwise, the thing you are pulling does indeed not have any changes. That can mean that the changes you are looking for in another branch.
What you might want to do in that case is
git fetch <heroku> where heroku is the name of the remote pointing to the heroku repository. That’ll fetch all banches from heroku, which you then are able to merge.