Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Thadah D. Denyse ( thadah@lemmy.blahaj.zone )  to Programmer Humor@programming.devEnglish · 2 years ago

Version Control

lemmy.blahaj.zone

message-square
29
link
fedilink
228

Version Control

lemmy.blahaj.zone

Thadah D. Denyse ( thadah@lemmy.blahaj.zone )  to Programmer Humor@programming.devEnglish · 2 years ago
message-square
29
link
fedilink
alert-triangle
You must log in or # to comment.
  • tetris11 ( tetris11@lemmy.ml ) 
    link
    fedilink
    arrow-up
    26
    ·
    2 years ago
    cd ~/repos/work-project27
    git checkout dev
    git branch new_feature
    ### code for a few hours, close laptop, go to sleep, next morning
    git checkout dev
    ### code for a few more hours, close laptop go to sleep, next morning
    ## "oh fuck, I already implemented this in new_feature but differently"
    git checkout dev
    git diff new_feature
    ## "oh no. oh no no no. oh fuck. I can't merge any of this upstream and my history is borked."
    git clone git@workhub:work/work-project work-project28
    cd ~/repos/work-project28
    
    • Programmer Belch ( programmer_belch@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      13
      ·
      2 years ago

      Truly a Sisyphus tale

      • tetris11 ( tetris11@lemmy.ml ) 
        link
        fedilink
        arrow-up
        16
        ·
        2 years ago

  • Boomkop3 ( Boomkop3@reddthat.com ) 
    link
    fedilink
    arrow-up
    26
    ·
    2 years ago

    That last one is more common than I’d like, a lot more

    • pewpew ( pewpew@feddit.it ) 
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      Oh I used to do it as a kid

  • Tamlyn ( tamlyn@lemmy.zip ) 
    link
    fedilink
    arrow-up
    13
    ·
    2 years ago

    At university there were some students that want to manage projekts in could storange. That was just stupid but i didn’t know it better at that time.

    • lesnout27 ( lesnout27@feddit.org ) 
      link
      fedilink
      arrow-up
      30
      ·
      2 years ago

      • Tamlyn ( tamlyn@lemmy.zip ) 
        link
        fedilink
        arrow-up
        12
        ·
        2 years ago

        I’m sick…that’s my excuse…

        • lesnout27 ( lesnout27@feddit.org ) 
          link
          fedilink
          arrow-up
          10
          ·
          2 years ago

          Didn’t want to be mean with the meme

          • Tamlyn ( tamlyn@lemmy.zip ) 
            link
            fedilink
            arrow-up
            10
            ·
            2 years ago

            Don’t worry, it’s fun

  • bleistift2 ( bleistift2@sopuli.xyz ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 years ago

    The last is just a normal git workflow, isn’t it?

  • Slotos ( Slotos@feddit.nl ) 
    link
    fedilink
    arrow-up
    9
    ·
    2 years ago

    Why did you mention git twice?

    • Thadah D. Denyse ( thadah@lemmy.blahaj.zone ) OP
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      While TFS did support Git, I had to deal with the much worse TFVC for a long while, up until Azure DevOps came along.

  • brandon ( brandon@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 years ago

    MyProject - Copy v2.bak new NEW (3)/

    • lars ( lars@lemmy.sdf.org ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      And when it’s release, then you rename it to

      MyProject - Copy v2.bak new NEW (3) FINAL.2-19-24/

      and then at the next standup, we all ponder how we can rename it to

      MyProject - Copy v2.bak new NEW (3) FINAL.2/19/24/

      because the team lead needs m/d/yy names with forward slashes

  • parpol ( parpol@programming.dev ) 
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    Couldn’t add perforce to the list because someone else was checking it out, I see.

  • PoolloverNathan ( PoolloverNathan@programming.dev ) 
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    btrfs sub snap -r

    • magikmw ( magikmw@lemm.ee ) 
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      With properly configured subvolumes, I’ll allow it.

    • mcmodknower ( mcmodknower@programming.dev ) 
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Isn’t that just git with more steps and harder to share?

      • PoolloverNathan ( PoolloverNathan@programming.dev ) 
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        It’s equivalent to cp -r, but:

        • the copy is read-only
        • reuses unchanged files
        • easier to share (btrfs sub send)
        • mcmodknower ( mcmodknower@programming.dev ) 
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Sounds just like git (unless you do some special operations to change the copies)

  • 0101100101 ( 0101100101@programming.dev ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    I do miss the tags of SVN that would replace certain strings on each commit such as the date, a version number, etc.

  • 0101100101 ( 0101100101@programming.dev ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    CVS is gonna make a comeback! I tell ya!

  • GenderNeutralBro ( GenderNeutralBro@lemmy.sdf.org ) 
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    No love for cvs?

  • yogsototh ( yogsototh@programming.dev ) 
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago
    cp $fic $fic.$(date -Iseconds)
    git commit -a -m "save at $(date -Iseconds)"
    # edit $fic
    git commit -a -m "save at $(date -Iseconds)"
    git push -f
    
  • Jade ( JadeSleeps@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    The last one can easily describe Django. Feels like depending on the code base/your mistakes/people you work with can easily turn a normal project into a project where majority of the files is just migration files.

  • 0x01 ( 0x01@lemmy.ml ) 
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I knew a dude who would burn a cd every week and store it in his house as his version control, his software is still used by hundreds of businesses to this day

  • almost1337 ( almost1337@lemm.ee ) 
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Perforce Helix, here I come!

Programmer Humor@programming.dev

programmer_humor@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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 495 users / day
  • 1.73K users / week
  • 3.11K users / month
  • 7.26K users / 6 months
  • 463 local subscribers
  • 33.5K subscribers
  • 1.53K Posts
  • 25.1K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code