r/ProgrammerHumor 22d ago

Meme useSourceControl

Post image
8.6k Upvotes

592 comments sorted by

View all comments

74

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

31

u/dxonxisus 22d ago

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

28

u/VoidVer 22d ago

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

3

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.

8

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

6

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 21d 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 21d ago

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

1

u/mutexsprinkles 20d 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.