37
HelloBaze
124d

Do you guys commit after your code works or when the day is over?

Comments
  • 5
    Which ever comes first
  • 16
    No. Atomic commits.

    One commit should contain a very small feature. That way it's easy to identify and revoke a feature.

    Mine are usually a few hours apart.
  • 4
    I commit often to branches and squash commits into meaningful ones before merging.
  • 2
    @hashedram What if you make core data structure changes?
  • 3
    @raldo94 same. Atomic commits every few hours, on a different fork. Merge latet
  • 5
    I don't commit... to relationships
  • 1
    @carlosjpc the father came first.
  • 1
    @theNox that sounds interesting. Wanna date babes? 😋😎

    #NoStringsAttached #huehuehue
  • 5
    @Floydian I'll write you down on the list
  • 1
    @theNox how much is the waiting? 🤔😥
  • 3
    @Floydian up to a lifetime
  • 1
    @theNox I really had my hopes high. 💔😥
  • 3
    Both. And sometimes even when the code doesn't work.
  • 4
    @Floydian aww :/ I should warn people that I'm known as heartbreaker
  • 2
    I'm still new to git, but I try to commit for every change I make. I find it easier to track on what I did wrong at a later date.
  • 2
    each piece/feature that works, as soon as it works and can be commited as a logical whole.
    the more often you commit, the less merge trouble you get.
  • 5
    I instantly commit whenever my commit-alarm rings, no matter what I'm doing. This sometimes causes me to submit unfini
  • 0
    After it works
  • 0
    usually when it works, but if I have other obligations after work I'll move it to a branch prefixed with "WIP-" for "work in progress"; we have CI configured not to run on such branches.
  • 1
    When I've had progress where I'd like to keep its state, but not commit to keeping it as such, STASH!
    When it works and I'm comfortable with how it's working and ready to move to another experimental upgrade, COMMIT!
    When something isn't working and it's a recent action, BLAME ANOTHER DEV!

    ... I'm the only dev on my team... EVERYTHING IS OK!
  • 0
    Well played! 🙌 @wizzzard
Your Job Suck?
Get a Better Job
Add Comment