• Fushuan [he/him]
    link
    English
    376 months ago

    Slight correction. In case of fire:

    Git checkout -b firemyusername Git commit -am=“fire” Git push.

    We don’t want to have conflicts with code versions when going in on a rush, better to create a new branch. We can merge all the conflicts afterwards.

    • @reboot6675@sopuli.xyz
      link
      fedilink
      26 months ago

      Oh man I hadn’t seen a git checkout -b in years haha since they introduced switch and restore, never looked back

      • Fushuan [he/him]
        link
        English
        26 months ago

        I’ll admit I just press the buttons in my favourite IDE and had to look up the commands to remind myself, but yeah.

    • @flashgnash
      link
      26 months ago

      Isn’t that what git stash is for though?

      • Fushuan [he/him]
        link
        English
        26 months ago

        Nah, what I need is doble new lines of code blocks since this is markdown and it fucked the display.

        • malijaffri
          link
          fedilink
          26 months ago

          Here you go:

          git checkout -b firemyusername
          git commit -am="fire"
          git push