23
Laurens
4y

Am I the only person that deletes their github repo and then uploads it again when you encounter a merge conflict?

Comments
  • 10
  • 4
    More than likely. Dealing with merge conflicts properly is part of everyday life when you use git.
  • 2
    You should be fixing it properly friend. Good git skills stay with you for life and keep you out of sticky situations.
  • 2
    I used to be so bad about this until I took the time to stop and learn about git. I personally enjoyed Udacity's tutorial on git.
  • 0
    That sounds like it could get ugly 😆
  • 0
    I do that with our intern, he always manage to fuck things up and by the 10th time I just:
    Me: is everything pushed?
    He: yes
    Me: so delete the folder and clone again.

    Just did that and gone to lunch today
    😂
  • 5
    @azous Intern = is there to learn and help, so maybe showing him how to resolve the conflicts would save you future headaches .
  • 0
    Yes
  • 0
  • 1
    @skonteam 10th time.

    I do teach but somehow he manages to don't get anything and just lack the will to figure out the most basic things on his own, even after one year of using git.
  • 1
    @azous that's a big red flag. Git isn't difficult, when I was first learning I got into the habbit of writing steps to some slightly more complex things + command descriptions. It worked wonders. But the first step is to stop being always available to get them out of sticky situations.
  • 0
    Locally, sure I've done that. Force push branches? Sure I've done that. Delete the repo from Github...?! Nope. Not that I recall.
  • 0
    So does Randall Monroe
    https://xkcd.com/1597/
  • 0
    @uddinstock https://udacity.com/course/... I believe this is the one
  • 0
    As someone who considers git his favorite tool, this thread makes me sad :(
Add Comment