简体   繁体   English

Github问题与android studio集成

[英]Github issues integration with android studio

I already have Github set up in Android studio. 我已经在Android Studio中设置了Github。
I can commit, push and everything else. 我可以提交,推送和其他所有内容。
What I can't figure out is how do create and manage Github issues with Android studio? 我不知道是如何使用Android Studio创建和管理Github问题?

That's pretty easy to do. 那很容易做到。

Integrate Github (not git) server 集成Github(不是git)服务器

  • Tools -> Tasks & Contexts -> Configure Servers 工具->任务和上下文->配置服务器
  • Add a github server (not gitlab) an set your repo stuff there 添加一个github服务器(不是gitlab)在那里设置您的仓库

Work on issues 处理问题

Once done, you can create, work on, close issues 完成后,您可以创建,处理,解决问题

  • Tools -> Tasks & Contexts -> Switch task (or Alt + Shift + T on windows) 工具->任务和上下文->切换任务(或Windows上的Alt + Shift + T

You can open, mark as resolved, create branch for the issue. 您可以打开该问题,将其标记为已解决,然后为该问题创建分支。 If you want it closed you can include closes #123 in your commit message which will close it (this doesn't have to be from within android studio, github recognizes it as a command). 如果您希望它关闭,则可以在提交消息中包含closes #123来关闭它(这不必来自android studio中,github会将其识别为命令)。

Actually, what you've got set up in Android Studio is Git, not GitHub. 实际上,您在Android Studio中设置的是Git,而不是GitHub。 Git is the version control system, GitHub just hosts the repositories and essentially pretties it up for you. Git是版本控制系统,GitHub只是托管存储库,从本质上来说,它可以为您锦上添花。 Issues aren't in any way actually associated with your git repository, except through GitHub and as a result, what you're trying to do isn't possible. 除了通过GitHub,问题实际上与git存储库没有任何关系,因此,您尝试做的事情是不可能的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM