lemmy.sieprawski.pl
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
seahorse [Ohio]@midwest.social to Programmer Humor@lemmy.mlEnglish · 1 year ago

I'm going to sit down and actually learn git this week

midwest.social

message-square
15
fedilink
33

I'm going to sit down and actually learn git this week

midwest.social

seahorse [Ohio]@midwest.social to Programmer Humor@lemmy.mlEnglish · 1 year ago
message-square
15
fedilink
alert-triangle
You must log in or register to comment.
  • DarkwinDuck@feddit.de
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    So you’re going to git gud?

    • brothershamus@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      git out

  • stilgar [he/him] @infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Pro tip: If your code gets flogged by git, you can always get revenge with git reflog 😉

  • lseif@sopuli.xyz
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    if u ever get a tricky merge conflict, just git push --force. this automatically works out the right code to keep (your own)

    • erogenouswarzone@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Also, a way to never have to work again!

  • ArbitraryValue@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago
    1. git pull
    2. git reset --hard HEAD
    3. try not to cry
    4. cry a lot
    • CalcProgrammer1@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      git reflog, you can get your old commits back

      • ArbitraryValue@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        But I want to pretend none of this ever happened.

        • winterayars@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago
          git can we just pretend the last 30 minutes never happened
          

          I feel like that would get more use than people want to admit.

  • Andrew@mander.xyz
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Literally.

  • roastpotatothief@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Git is a great invention but it has a few design flaws. There are too many ways to confuse it or break it, using commands that look correct, or just forgetting something. I ended up writing simple wrapper script codebase to fix it. Since then no problems.

    • oce 🐆@jlai.lu
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      It was conceived for experts so the new user experience is shit and the UI is not intuitive. But it has become such a widespread standard that it is very hard to completely overhaul the UI.

  • brainw0rms [they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    6 months ago

    .

  • lily33@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Learning git is very easy. For example, to do it on Debain, one simply needs to run, sudo apt install lazygit

    • Kata1yst@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      LazyGit may actually be black magic from Satan to tempt programmers into sin. And to that I say: ‘where is a goat I can sacrifice to my dark lord?’

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 123 users / day
  • 528 users / week
  • 1.75K users / month
  • 10.5K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.47K Posts
  • 23.1K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org