Elektrine lite

← Feed

@lig@fosstodon.org

2026-04-14 07:38 UTC

Neat one-liner for updating a PR while keeping your local main fresh. ``` git fetch origin main:main && git rebase main && git push --force-with-lease ``` This: • updates your local main • rebases your current branch onto it • safely force-pushes the updated history Compact, explicit, and avoids drifting main locally.

Replies (0)

No replies.