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

add commit functionality to st create command #22

Closed
blmalone opened this issue Oct 24, 2024 · 0 comments · Fixed by #34
Closed

add commit functionality to st create command #22

blmalone opened this issue Oct 24, 2024 · 0 comments · Fixed by #34

Comments

@blmalone
Copy link
Contributor

blmalone commented Oct 24, 2024

A common git workflow goes something like this:

  • create a branch
  • check out the branch
  • commit to the branch

Graphite combines this workflow into a useful command that I find myself using frequently:

gt create --all --message "commit message"
# the --all flag is defined as: Stage all unstaged changes before creating the branch, including to untracked files.

It would be cool if st provided the same funcitonality:

st create --all --message "commit message"

In the current version of st, I need to provide 4 commands to perform the same action:

st create my-branch 
git add . && git commit -m "my commit"
st submit # some additional button clicks here too
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 a pull request may close this issue.

1 participant