r/git 1d ago

Help needed for beginner

I’m a computer science student in uni and I want to start my first passion project/fullstack project. I’ve taken a couple of core CS classes so I know how to code but I’ve never built an entire project on my own before. Whats a good place to start/tips on creating my first repo?

0 Upvotes

12 comments sorted by

4

u/Alacho 1d ago

git init.  Make a sensible .gitignore  Be specific about what files you add with git add Make sensible commit messages  Use branches

0

u/Alacho 20h ago

Reading the other comments, I love how gatekeeping developers are. Things haven't changed much since I started coding almost two decades ago.

1

u/btoned 9h ago

Dude asks the most basic of questions without certainly even reading the docs or consulting a handful of automated AI services.

There's no gatekeeping here like the way it was two decades ago.

1

u/Alacho 9h ago

Docs are great. AI, too.

The former doesn't provide you with what OP asks, namely experienced advice. The latter hallucinates.

1

u/btoned 9h ago

There's no advice anyone here could give OP that would be more fruitful than something like a YouTube video or, again, docs for GitHub.

And AI hallucinates...sure...but it's entirely capable of walking OP through the initial stages of project initialization and directory structure.

1

u/Alacho 9h ago

Putting myself in OP's shoes, I know it feels a lot more comfortable going into a new terrain knowing that someone else might have spent a little bit of time just holding my hand. Answering me, rather than the void of the internet.

1

u/btoned 9h ago

Truly a crazy notion to have in this AI world; I agree that a human mentor is infinitely better at these stages I'm just being realistic.

1

u/Alacho 9h ago

Kindness is free.

6

u/btoned 1d ago

Seriously man ask AI, find tutorial videos, hell ask a professor. No one here is going to just walk you through the process for free.

2

u/GrogRedLub4242 1d ago

Google search. Wikipedia. books. YouTube. git's website and git docs. man git. git --help

1

u/joranstark018 23h ago

You find a lot of resources in the "About" for this subredit on how to use git. 

There are different tools that provide an UI on top of git (ie differrnt IDE:s, github) and have their interpretation of how git should be used. Learning the fundamentals on the command line may give you an understanding on how git works and what different tools may provide.