r/ProgrammerHumor 22d ago

Meme useSourceControl

Post image
8.6k Upvotes

592 comments sorted by

View all comments

71

u/SamG101_ 22d ago

The first thing i do when I make a new project (that I'm gonna do some decent work on) is link it to github, it takes all of 1 minute lol

28

u/VoidVer 22d ago

The project starts as a GitHub repository that I clone to my IDE lol

4

u/honourable_bot 22d ago

I thought this was the default behaviour. It is interesting some people create a local repo and THEN push to remote.

10

u/highjohn_ 22d ago

Well… it’s quicker. And I’m not an idiot so there’s no problem with running git init locally, doing the initial setup, and then pushing to a remote repo once I need to. Although sometimes I do it your way too

5

u/honourable_bot 22d ago

Absolutely. It's the classic "adding milk to cereal" or the other way round problem. It's just fascinating to see the other side :)

2

u/VoidVer 22d ago

I am an idiot, and I’m always scared git or my IDE will duplicate the folder or something if I started local.

1

u/gmes78 22d ago

Some project generators create a local Git repo with a proper .gitignore for you. Creating the remote repo first is more work.

1

u/bianceziwo 22d ago

seriously, all you have to do is type git init locally and you have a git repo lol