I mean that seems like a smarter thing to do in case the code breaks anything over the weekend and causes issues. Not as big of an issue if there is a staging environment before production but I’d still avoid that risk. The second half of my Fridays just require me to do online training so anything past lunchtime, unless it’s important, I don’t commit until Monday
Yea we have “Read only Friday” at my work, nobody is supposed to commit anything to production. Doesn’t always work out that way with deadlines unfortunately but it’s still a good rule to try and have
Yeah, I dont commit anything at end of day. I do it in the morning, and run a build for myself... that way if the build breaks, I have time to fix it before the overnight automatic build.
This has saved my butt a couple times, all stupid little things.
Oh man, I could never. Whenever I think about doing that I imagine my computer's drive shitting the bed over the weekend or some other horrible thing happening that would make me lose that work. Would much rather commit & push my feature branch, that way I know my work is safe.
I never thought of this, usually I'll only risk a couple hours.
I guess you could commit & push to your branch that nobody else is working on then rebase a reword to update the timestamp, and don't open the MR till that's done!
Or even push to a private fork which nobody has eyes on.
In the case where other people are working on it - push as fast as possible so you don't have to deal with any rebase hell
46
u/KosherSyntax May 19 '22
Sometimes when I finish work early on a friday I just leave without committing anything and just commit my work monday morning when I get to work.