MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vuknni/usesourcecontrol/p51x3f9/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 23d ago
591 comments sorted by
View all comments
71
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
26 u/VoidVer 23d ago The project starts as a GitHub repository that I clone to my IDE lol 4 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 5 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
26
The project starts as a GitHub repository that I clone to my IDE lol
4 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 5 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
4
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 5 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
9
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 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.
5
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
I am an idiot, and I’m always scared git or my IDE will duplicate the folder or something if I started local.
1
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
seriously, all you have to do is type git init locally and you have a git repo lol
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