Is there a way to create a branch from an issue from Github's website?
Once I select an issue, is there a way to create a branch from the site and then clone it? Or an alternative?
No way.
But if you want to create a new branch from web interface use official guide page.
Coming across this question in October 2022, there now is a way to do that directly in Github!
This functionality is apparently in public beta right now and subject to change, according to the GitHub documentation about it.
To try this feature, just navigate to an issue and open it.
Then, on the panel on the right side of the page, you can find a clickable button to "Create a branch". See the attached screenshot for an example.
FWIW: You can automate the creation of issue branches by installing Create Issue Branch (FD: I'm the author of this App/Action)
Related
I'm in a PR and I want to create a follow up Issue from one of a review comment. Basically, I'm sort of looking for right click on the comment and getting a 'Create Issue' option.
Please help me if there's any way to achieve this on GitHub.
I want to create a follow up Issue from one of a review comment.
2 years later (Sept. 2018), that is possible.
See "Open a new issue from a comment":
Sometimes a conversation in an issue or a pull request can move off in a tangential direction.
Now you can click Open new issue within the comment’s options menu to open a new issue, which will include a reference to the original comment – helping you get the conversation back on track.
I think there's no such option right now, but you can ask GitHub support about it. Nevertheless, you can reference concrete PR in a new issue by typing #ID, where ID is ID of the PR. Then, an issue will be linked to PR. I think you can also mark a line in code on GitHub and link it in new issue as well.
We are migrating the issues of a project from Google Code to GitHub. Google's migration tool assigns all the issues in GitHub to the user GoogleCodeExporter. How can I change issue's author in GitHub?
The GitHub API has a function to edit issues that will allow you to change the assignee (not creator) of the issue. As far as I know, there is no functionality within GitHub to change the creator.
I'm sorry that this doesn't accomplish exactly what you want to do, but it might be the closest alternative (depending on what your project uses issue creator for).
I have a private repo that's part of an organization on GitHub. I don't see the normal link to the repo's wiki that I've seen on many other repos. How do I get to it?
I did a little more digging and figured this out, decided I’d document it for the next person. The GitHub wiki is a setting that’s off by default. From the repo page select Settings on the right side, then in the Features section check Wikis.
It would be really great to have a Github issue be in an intermediary "Resolved" state before I close the issue.
Right now, I have a "Resolved" label and I manually select the issue and change it's label on the web after I commit. Is there a way I can do this from the commit message?
I am sure this is a common problem. How do you guys solve this?
I have never used Github API but can this be done using the API If I were to do this myself?
Since September 14, 2016 you could manage your states with projects. See image below:
Reference and source: GitHub - A whole new GitHub Universe: announcing new tools, forums, and features.
I know it's not like a new state like "needs verification" because you can't like #NevikRehnel said in his answer. But you could make a column named "open", "needs verification" and "closed" and all the issues can you list in correct column.
No, Github issues only support two states (open and closed). Any other "states" must be realized via labels, as you are already doing right now.
And as of right now, there is no way to apply labels from commit messages.
You can always request such features from Github support of course, and they might be implemented at some point.
You can manage this problem using this method : Adding and reassigning github issues via commit message.
A simple ruby script will run on each commit, and check the commit message looking for ~myLabel and =assignedMember to update correctly the issue.
I've just started using "GitHub for Windows", and I can't figure out how to see other branches (or create other branches).
The help page mentions this feature, and even shows a screenshot, but does not detail how to get to it.
I am aware of how to create and checkout branches from the command line, but I would like to do this from within the UI.
Does anyone know how to do this?
Found it! It's actually very easy when you realise where to look. The name of your branch is shown next to the "sync" or "push to github" button. Clicking on this shows all the existing branches, as well as a text box to create a new one: