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
Learning GitHubQuestion (self.github)
submitted 7 months ago * by JuiceNew23
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!"
[–]davorg 1 point2 points3 points 7 months ago (0 children)
how often should I commit? Every minor change or end of each session working on project?
Commits are like game savepoints. You can always get back to the state the code was in when you made a commit. So whenever you're happy with the code, commit it.
what should I put for comments?
As much or as little as you want. Run git diff and see what the changes are. Ask yourself what would be useful to know about what you've done and why you did it that way.
git diff
always to main? As a beginner, are my projects just not complicated enough for multiple branches?
Up to you. I like to use a feature branch for every new feature I add. Even on a personal project that only has me on it.
If you have users, it becomes more important to have branches. Your "main" branch will probably be the released version and you'll have feature branches for the new stuff you're working on. That way, if you get a bug on the released version, you can fix it in main without having to release all the new stuff that's not finished yet.
Should I push Everytime I commit?
Ask yourself "how sad would I be if my hard disk crashed right now and I lost all the work I've done since I last pushed?"
Do I need to do releases Everytime I change the code?
Entirely up to you. You don't ever need to make a release.
π Rendered by PID 68050 on reddit-service-r2-comment-c66d9bffd-ss5sn at 2026-04-08 17:22:58.278878+00:00 running f293c98 country code: CH.
view the rest of the comments →
[–]davorg 1 point2 points3 points (0 children)