• BatmanAoD
    link
    fedilink
    arrow-up
    8
    ·
    9 months ago

    git checkout ma<tab>

    If you don’t have autocomplete set up for your shell, get it working. If someone has a different branch named ma..., ask if you can delete it, and get your team to adopt a decent branch naming convention.

    • Nalivai@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago
      git checkout ma<tab>
      
      
      mai_new_chenges 
      march_deploy_second_final_final_fixed      
      main_fixes       
      mast_not_farget_to_delete_it
      
      • BatmanAoD
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        …yeah, I already said that if there is another branch starting with those letters it should be deleted. You need a naming convention.

        • Nalivai@discuss.tchncs.de
          link
          fedilink
          arrow-up
          2
          ·
          9 months ago

          I really wish to work in a team where people have naming conventions for branches that are concerned about stuff like that. Must’ve been a nice place to work at.

          • BatmanAoD
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            9 months ago

            Whoever named the “final final fixed” one seems to have missed the point of version control. 😑