My Lemmy Oracle
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to Git@programming.devEnglish · 25 days ago

Why don't people use git properly?

deadsimpletech.com

external-link
message-square
22
fedilink
33
external-link

Why don't people use git properly?

deadsimpletech.com

codeinabox@programming.dev to Git@programming.devEnglish · 25 days ago
message-square
22
fedilink
Why don't people use git properly? | deadSimpleTech
deadsimpletech.com
external-link
I think the worst failure mode I've ever seen is one team that maintained a "git repository" for a collection of analysis scripts that was simply a directory on a shared drive. It was technically speaking initiated as a git repository, but practically speaking it wasn't used as one: rather, the directory contained zipped copies of the code timestamped with when they were modified. There were very few commits to be seen, and I honestly hesitated to try and branch from them in any meaningful way. Of course there was no command line interface or anything to be had, and the git GUI software they had available was muddled enough that it confused me. In this situation, yes, *technically* they were using git, but in any real sense this clearly wasn't the case.
  • whats_a_lemmy@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    24 days ago

    ???

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      24 days ago

      If you mean to ask what that means, it’s that for development you start a branch and either do everything in one commit, or do everything in several, but each time you git commit --amend so that a history is overwritten and in the end it is only one commit still

      • whats_a_lemmy@midwest.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        24 days ago

        I understand. Just… y tho

        • lad@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          24 days ago

          Because less merge conflicts (we also rebase on top of master each time we commit)

Git@programming.dev

git@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

  • Official Git project site
  • Pro Git book

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 4 users / day
  • 21 users / week
  • 220 users / month
  • 517 users / 6 months
  • 1 local subscriber
  • 4.72K subscribers
  • 344 Posts
  • 1.03K Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • canpolat@programming.dev
  • Jason Novinger@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org