[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1752319316482750.jpg (1.57 MB, 1800x1800)
1.57 MB
1.57 MB JPG
how often do you author a new commit?
do you make a bunch and then push them all at once?
>>
when I finished something
when I go to the toilet
when I go to bed
>>
every change is one commit
>>
i dont use git
>>
>>107868661
One logical whole is one commit.
I confess: If I've been lazy, I gather several days of work to make commits of to even it out.
>>
>>107868661
i commit feature to feature, if the intermediate status doesn't work then i don't commit
>>
>>107868661
On personal projects it's pretty much just whatever I feel like doing. I mostly just push to master unless I have something I specifically want to see the diffs of in github's PR viewer. For commits specifically i try to remember to keep commits focused but I very often get side tracked while working on features so my changes end up encompassing multiple files and it's hard to entangle that into multiple commits, so I just do one big commit
Professionally it's definitely way more disciplined, but that's because in a professional capacity you're often working on feature branches that are there for specific issues. Although this probably depends on where you work and how much git discipline is enforced
>>
>>107868661
ideally one ticket = one commit. so either a full feature or a bug fix. I don't commit unfinished work.
that is for my PR. before I make a PR I use temp commits sometimes.
>>
At the end of the day once for sure. When I finished something that I don't want to lose too.
>>
>>107868661
when my manager suspects I am withholding the code so that everything goes to hell when I leave



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.