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

Git Commands as std::process::Command functions #8

Open
3 of 6 tasks
travispotterBH opened this issue Jun 2, 2023 · 1 comment
Open
3 of 6 tasks

Git Commands as std::process::Command functions #8

travispotterBH opened this issue Jun 2, 2023 · 1 comment

Comments

@travispotterBH
Copy link
Owner

travispotterBH commented Jun 2, 2023

  • switch branch
  • create new branch
  • delete branch from local
  • push / pop from stash based on stash name
  • basename
  • rev-parse --show-toplevel (location of repo)
@travispotterBH
Copy link
Owner Author

There are a few rust implementations of git, for example:

  • gitoxide
  • git2

However, I think there is more educational value in developing our own git wrapper for just the parts we need. If this expands into a much larger project, I would be okay with making one of those projects a dependency for this tool, of course only if their licenses allow for it.

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

No branches or pull requests

1 participant