Skip to content

Conversation

@avidal
Copy link
Collaborator

@avidal avidal commented Jul 15, 2025

Several cases have already popped up of users creating commits on brand new branches. I was hoping to avoid bringing this in, but the implementation is pretty simple.

Both commit and push gain a new --branch-from flag to specify a commit hash that --branch should branch from, if the branch doesn't already exist on the remote.

@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jul 15, 2025

✅ Libraries

ℹ️ Info

🎉 All green!

📚 No new vulnerable libraries detected

This comment will be updated automatically if new data arrives.

🔗 Commit SHA: 19f3cf2 | Was this helpful? Give us feedback!

Several cases have already popped up of users creating commits on brand
new branches. I was hoping to avoid bringing this in, but the
implementation is pretty simple.

Both `commit` and `push` gain a new `--branch-from` flag to specify a
commit hash that `--branch` should branch from, if the branch doesn't
already exist on the remote.
@avidal avidal merged commit 6cb6ab6 into main Jul 16, 2025
7 checks passed
@avidal avidal deleted the create-branch branch July 16, 2025 12:50
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.

2 participants