简体   繁体   中英

github: initiate code review without pull request?

it is a bad way to do code reviews after pull request has been initiated. sometimes we want to do code reviews before the whole thing is ready for integration. is there any tools out there that will allow code review without pull request? I prefer cloud based solution such as reviewable but it only works with pull request...

Fastforward to 2019. Github now offers "draft pull requests":

https://github.blog/2019-02-14-introducing-draft-pull-requests/

WIP (Work in Progress) pull requests are pretty common. GitHub doesn't have a built-in feature like GitLab or Gerrit have, but it's pretty easy to just do this by consensus: Open a PR that's prefixed with WIP: to indicate it isn't ready for being merged, but is open to feedback, and keep updating it (with git push --force most probably) as you go. Once you're done, you can remove the WIP: prefix.

EDIT:
While it isn't a built-in feature, the WIP third party app seems to help automate this for you, and prevent you from merging a WIP branch by mistake.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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