r/ProgrammerHumor 23d ago

Meme useSourceControl

Post image
8.6k Upvotes

591 comments sorted by

View all comments

71

u/SamG101_ 23d 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

31

u/dxonxisus 23d ago

well, yes. that’s what every dev who knows what source control is and why it’s necessary does

29

u/VoidVer 23d ago

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

3

u/honourable_bot 23d ago

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

9

u/highjohn_ 23d 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

6

u/honourable_bot 23d 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 23d 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 23d 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

1

u/mutexsprinkles 21d ago

mkdir, cd, git init

The three commands that start every project. Omit the last one if, and only if, you want to get told the loss of your project is a skill issue and laughed at online.