Yes, if you use feature branches its literally not continuous. It’s adjacent though.
Continuous Integration is a software development practice where each member of a team merges their changes into a codebase together with their colleagues changes at least daily
Meaning everything is in a version controlled mainline
People disagree about what CI is, but that’s the definition i subscribe to
So does everyone work directly on main all the time? Do all of you work on the same project or are there multiple with one person per project? How do you work around the broken code your coworker just pushed so you can finish your tasks?
I personally make feature files. So if i’m working on FactorySeederModemLookupVector.ts someone elses could work on ☝️🥵🙏.php without bothering each other. Tho, my collabs have been ones with a LOT of communication.
I’m very confused haha. didn’t you say this code was just personal code? or that it was just for yourself? If you’re at a job why are you committing like this?
in any case, I’m sorry for the absolute crazy amounts of hate you’re getting for using windows. I do highly recommend trying out linux though. unless you’re doing cad or 3d modeling, you will likely have zero issue using it.
I’m the only programmer at the company. It’s a closed source solution for very specific needs. So I only answer to myself and I don’t have a need to explain (to myself) what I did in a particular commit and if I ever need to check the commit history I can just check a particular files history, not going commit by commit. I never said it was personal code. I said “don’t code alone”. I use linux at home, the server hosting the code commits is linux, the scripts listening to new commits are in bash.
I didn’t make this post to defend someone elses decision and all this thread is doing is assume shit because I got to use windows. Yes, composer takes ages to optimize the autoloads on windows. I know.
You’re all just being insufferable to someone forced to use it.
then just always force push. You’re not even using the source control, you might as well just use a shell script to deploy rather than listening on CI/CD
Should I find a problem solved by me adding commit messages i’ll gladly do it. I use stuff as I find an usecase for it. Atm, i’m completely alone so i’ve 0 need to write up what my changes do. It personally gets in the way of quickly iterating and then testing.
rebase & fixup or reset are your friends
I love editing history. Fix the bug in the change that introduced it!
Then force-push, and fuck up someone’s day!
git branches are free
work in your tree
til the changes are ready
300
git push --force-with-leasea day and nobody madContinuous integration is better. Fight me
Nothing about continuous integration prevents you from using a branch to prepare your changes.
Yes, if you use feature branches its literally not continuous. It’s adjacent though.
Continuous Integration is a software development practice where each member of a team merges their changes into a codebase together with their colleagues changes at least daily
Meaning everything is in a version controlled mainline
People disagree about what CI is, but that’s the definition i subscribe to
So does everyone work directly on main all the time? Do all of you work on the same project or are there multiple with one person per project? How do you work around the broken code your coworker just pushed so you can finish your tasks?
Yea you always work on main on the same project.
You don’t push broken code. You always need to keep mainline healthy
It takes some special considerations, but the benefits are great.
I personally make feature files. So if i’m working on FactorySeederModemLookupVector.ts someone elses could work on ☝️🥵🙏.php without bothering each other. Tho, my collabs have been ones with a LOT of communication.
I prefer to force push directly to the production branch.
computer equivalent of being a nudist
This remains a hypothetical situation in my tree. :-/
I personally don’t really care for the meaningful messages or a pretty log. I only see these myself.
And clearly as a Windows developer, you hate yourself and don’t believe you deserve nice things, so it all checks out.
My bad for having a salary
This is just your self-hatred turned outwards. I forgive you.
I’m very confused haha. didn’t you say this code was just personal code? or that it was just for yourself? If you’re at a job why are you committing like this?
in any case, I’m sorry for the absolute crazy amounts of hate you’re getting for using windows. I do highly recommend trying out linux though. unless you’re doing cad or 3d modeling, you will likely have zero issue using it.
I’m the only programmer at the company. It’s a closed source solution for very specific needs. So I only answer to myself and I don’t have a need to explain (to myself) what I did in a particular commit and if I ever need to check the commit history I can just check a particular files history, not going commit by commit. I never said it was personal code. I said “don’t code alone”. I use linux at home, the server hosting the code commits is linux, the scripts listening to new commits are in bash.
Whoever works that job after you leave is going to curse your family lol. That’s wild to think like that.
Generational Trauma
With my salary, I am boss of my OS. I tell my boss, “you really want me working on that pile of shit? Okay, it’s your time.”
I didn’t make this post to defend someone elses decision and all this thread is doing is assume shit because I got to use windows. Yes, composer takes ages to optimize the autoloads on windows. I know.
You’re all just being insufferable to someone forced to use it.
I mean if you’re taking it this seriously, it was probably way more on the nose than I realized when I just intended it to be silly.
Then why are you using source control at all? You can manually copy the directory and name it “— Copy”.
I set up CI/CD that silently boots up the changes pushed on main
then just always force push. You’re not even using the source control, you might as well just use a shell script to deploy rather than listening on CI/CD
Ah sweet summer child…
Future you might not think the same
Should I find a problem solved by me adding commit messages i’ll gladly do it. I use stuff as I find an usecase for it. Atm, i’m completely alone so i’ve 0 need to write up what my changes do. It personally gets in the way of quickly iterating and then testing.