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

cli: push only branches pointing to @ by default #431

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

martinvonz
Copy link
Owner

Since we now allow pushing open commits, we can implement support for
pushing the "current" branch by defining a "current" branch as any
branch pointing to @. That definition of a current/active seems to
have been the consensus in discussion #411.

Closes #246.

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)

@martinvonz martinvonz enabled auto-merge (rebase) July 13, 2022 04:56
src/commands.rs Show resolved Hide resolved
Since we now allow pushing open commits, we can implement support for
pushing the "current" branch by defining a "current" branch as any
branch pointing to `@`. That definition of a current/active seems to
have been the consensus in discussion #411.

Closes #246.
@martinvonz martinvonz force-pushed the push-49d2e84ed6294820b911b8290e78dce9 branch from d570a38 to ba6428b Compare July 13, 2022 15:47
@martinvonz martinvonz merged commit 8bc4574 into main Jul 13, 2022
@martinvonz martinvonz deleted the push-49d2e84ed6294820b911b8290e78dce9 branch July 13, 2022 23:23
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.

FR: Add option to only push "current" branch
2 participants