Published the 2021-01-22 on Stacy Harper's blog

What's the push ?

To know what will be forcely pushed you can do this:

git push origin d575e61a:a-super-dev -fn

You can notice the `-fn`. The distant repository will then give you something like

 + cfc907c4...d575e61a d575e61a -> a-super-dev (forced update)

You now can `git diff cfc907c4..d575e61a` (removing one dot) to display the difference.

If it seems correct, you then can use the same git push command, removing the last `n` argument.

If this post inspired you, feels free to leave a comment !

The Cogitatis mailing list

This website is my Gemini Capsule mirror.
Embark now
Join the capsule gemini://