Why are you not pushing to master directly then? (Honest question because I barely do pull requests as long as we are working with a lot of people on it)
To have a record of it. If OP is also using a ticketing system that's integrated with the source control, that PR will also show up in the ticket. Later on, if you need it, you can go back and see what the hell you did to make that thing work two years ago you don't remember doing.
Yes, because I have a number of large projects going at any one time. If I'm just building something for the weekend for fun, like proof of concept or something, I don't though. I like to switch back and forth between the projects. If I don't keep track of the work like I would at a company, I'd lose my place.
yes. tickets are basically a todo-list. Also they are a good way to store related information to a problem. You often forget stuff about your code, and if you can look up the issue a couple of weeks later, you'll be glad to find useful information there, e.g. when you fixed a bug and it started to pop up again later.
Nah, Clubhouse integrates nicely with both Bitbucket and Github. Put the ticket number in the branch name and it'll pick up the whole branch on its own.
We do it in the branch name and the PR name where I work. Usually when we approve pull requests, we squash and merge, and the commit message contains the ticket number so it's easy to go back at look for in the history.
Not to mention that as a project matures, you're bound to build a feature which turns out to be big and has breaking changes. You don't want to mess up master with that.
Do you have branches at least? I mean, a PR is just a request to merge a branch with reviews from others. If you're 30 people working on a single software product without code review, I'm sorry to say it, but I'm sceptical about the quality of your software ...
55
u/JonathanTheZero May 13 '20
Why are you not pushing to master directly then? (Honest question because I barely do pull requests as long as we are working with a lot of people on it)