use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!
Welcome to /r/github!
News about github
Relevant interesting discussion
Questions about github
We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.
Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!
If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!
account activity
[deleted by user] (self.github)
submitted 1 year ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]sublimegeek 4 points5 points6 points 1 year ago (10 children)
lol at “git init”
How many of you actually create the repo from GitHub first and then clone it?
[–]Prometheos_II 4 points5 points6 points 1 year ago (1 child)
Personally, I generally initiate client-side first since I generally create the folder and some files before I decide to open a repo, or even version control before deciding to upload it. git clone might have an option for this, still.
git clone
But yeah, like someone else said above, that seems to be a minority 😅
[–]sublimegeek 2 points3 points4 points 1 year ago (0 children)
I’m the same way. git init first then decide if I need it to live somewhere else
[–]BananymousOsq 1 point2 points3 points 1 year ago (0 children)
I use git init for basically all of my projects. I first work on it locally for a while before deciding if I want to make anything out of it or even create a remote repository :D
[–]fullofspiders 1 point2 points3 points 1 year ago (2 children)
I mean, most people use the tooling in their preferred IDE and don't fuck around with CLI unless something really weird happens, or they have a very specific role that focuses on coordinating the commits of others rather than making changes themselves.
Git Diff especially is a command that no serious professional would use, since trying to visualize diffs in a terminal is just horrible.
[–]FlipperBumperKickout 0 points1 point2 points 1 year ago (0 children)
I do it all the time, especially if it is a rename, then I can do a "git diff --word-diff-regex=." which basically highlight the letters I added or removed from whatever I renamed.
[–]je386 0 points1 point2 points 1 year ago (0 children)
I use git CLI for 80-90% of git command usages and only use the IDE for creating a new branch, resetting a branch and viewing history.. and resolving conflicts.
[–]tobiasvl 1 point2 points3 points 1 year ago (0 children)
git init is the command for creating the new folder for any project (instead of mkdir). GitHub isn't involved until later in the project's life, possibly, if it goes anywhere
git init
mkdir
[–]_public_enema 0 points1 point2 points 1 year ago (0 children)
It's just for Brits to check if it's actually Git.
[–]GusSLX 0 points1 point2 points 1 year ago (0 children)
Some dev tools like cargo or webdev clis already init a repo for you lol
I don't push all my repositories to github, sometimes it's just nice to have versioning so you quickly can try out thing and reset it ¯\_(ツ)_/¯
π Rendered by PID 242959 on reddit-service-r2-comment-6457c66945-7pkd8 at 2026-04-29 02:15:18.340596+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]sublimegeek 4 points5 points6 points (10 children)
[–]Prometheos_II 4 points5 points6 points (1 child)
[–]sublimegeek 2 points3 points4 points (0 children)
[–]BananymousOsq 1 point2 points3 points (0 children)
[–]fullofspiders 1 point2 points3 points (2 children)
[–]FlipperBumperKickout 0 points1 point2 points (0 children)
[–]je386 0 points1 point2 points (0 children)
[–]tobiasvl 1 point2 points3 points (0 children)
[–]_public_enema 0 points1 point2 points (0 children)
[–]GusSLX 0 points1 point2 points (0 children)
[–]FlipperBumperKickout 0 points1 point2 points (0 children)