如何将新问题添加到 github 中的里程碑?
How to add new issue to a milestone in github?
在我的私人 github 存储库中,我创建了一个新的里程碑。我想给它添加新的问题。
我点击新问题按钮,但它重定向到以下页面:
我该怎么办?
作为解决方法,检查使用 GitHub CLI gh
是否有帮助。
来自Creating an issue with GitHub CLI:
To create an issue, use the gh issue create
subcommand.
To skip the interactive prompts, include the --body
and the --title
flags.
gh issue create --title "My new issue" --body "Here are more details."
You can also specify assignees, labels, milestones, and projects.
gh issue create --title "My new issue" --body "Here are more details." \
--assignee @me,monalisa --label "bug,help wanted" \
--project onboarding --milestone "learning codebase"
在我的私人 github 存储库中,我创建了一个新的里程碑。我想给它添加新的问题。
我点击新问题按钮,但它重定向到以下页面:
我该怎么办?
作为解决方法,检查使用 GitHub CLI gh
是否有帮助。
来自Creating an issue with GitHub CLI:
To create an issue, use the
gh issue create
subcommand.
To skip the interactive prompts, include the--body
and the--title
flags.gh issue create --title "My new issue" --body "Here are more details."
You can also specify assignees, labels, milestones, and projects.
gh issue create --title "My new issue" --body "Here are more details." \ --assignee @me,monalisa --label "bug,help wanted" \ --project onboarding --milestone "learning codebase"