💾 Archived View for missbanal.net › what-the-push captured on 2024-06-16 at 12:21:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

🚧 View Differences

-=-=-=-=-=-=-

Published the 2021-01-22 on Willow's site

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

To git.sr.ht:~stacyharper/a-good-project.git
 + 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.

RSS feed

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

The Cogitatis mailing list