68
aplp
9y

Telling people I don't need GIT and prefer to do things via FTP for years. That is till today when I accidentally deleted everything.

sudo apt-get install git

Comments
  • 2
    A year ago, I was there where you are now.
  • 1
    I still prefer ssh.
  • 0
    @devRat how did that work out for you?
  • 1
    @aplp I never looked back since git. I don't have to take backups of the files manually anymore.
  • 1
    @devRat but isn't the development process slower because of, well, git add --all . && git commit -m "some typo I just fixed" && git push -u origin master? And like, doing that, a lot? Whereas with FTP it was just a ctrl/cmd+s, depending on what editor one uses.
  • 1
    I only commit big changes to git.
  • 2
    @aplp you don't have to push after every commit and it's a breeze working on a team with it :)
  • 4
    @aplp It is very helpful even for small codes. When I was building my website I accidentally removed some js code that I got back from Git. Also, the commit messages are very helpful when you're looking back at your code months later.
  • 3
    To be honest, why you did is still better than CVS. Dear god CVS is awful; only s couple of months after I came to the company, a coworker and I convinced management to switch to Git and everyone's been happy ever since.
  • 12
    this is why i handwrite all my code in my journal
  • 1
    git is King
  • 1
    you masochist you😂
  • 1
    I use git but I'm very basic at it. Let's put it this way, I pity the soul who ends up having to share a repo with me. I mainly use it for work continuity when switching machines.
  • 2
    Even if you don't want to commit and push all the time, git is already worth it because of tags. With a single command, you take a compressed snapshot of your code base for archiving.
  • 2
    @aplp like @azous said, git is designed to help you keep track of changes both remotely AND locally. Often I write a piece of code, confirm it works, commit it locally. Repeat this until a feature is complete, THEN push it up. There's no need to push up often unless you think your computer is about to die or get stolen.
  • 0
    @Heatstreak nope, a lone wolf, rather
Add Comment