rprouse / GitHubExtension

A visual studio extension for interacting with GitHub.
MIT License
34 stars 10 forks source link

Create branch for issue #79

Open rprouse opened 9 years ago

rprouse commented 9 years ago

If project is open and it is a git repository, enable a button to create a branch for working on an issue. Format of the branch name should be configurable in settings.

sharwell commented 9 years ago

For the first pass, I propose the naming convention fix-{issue} be used. For example, this issue can be resolved via a fix-79 branch.

rprouse commented 9 years ago

I prefer issue-{issue} only because it is the convention on the NUnit project and that is where I do most of my work :smile:

All the more reason to make it at least a global configuration setting.

sharwell commented 9 years ago

I have no problem with issue-{issue}. Visual Studio settings can be a bit tricky, especially given the number of different ways this could be handled. Plus we could make the configuration part lower priority while still enabling a majority of users to start using the feature sooner.

anorborg commented 9 years ago

As a part of this feature, I wonder if it would be helpful/possible to automatically have an initial commit with a message to reference the issue in github. i.e. "Initial commit for #{issue}"