Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make unsafe.force-push visible #5459

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open

Conversation

ChrisPenner
Copy link
Contributor

@ChrisPenner ChrisPenner commented Nov 19, 2024

Overview

unsafe.push-force exists, but I couldn't find it when I went looking for it, figured we should probably expose it.

The name implies it's unsafe, and most folks know how a force push works anyways.

Implementation notes

  • Make the command visible in help.
  • Add an alias so you can find it under push.

Loose ends

I'm not sure if we support push.force-with-lease but IMO it should be the default 🤔

@ChrisPenner ChrisPenner marked this pull request as ready for review November 19, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant