this post was submitted on 31 May 2026
5 points (61.9% liked)

Ask Lemmy

40103 readers
2034 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, toxicity and dog-whistling are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


7) No Hit-and-Run questions.
Please don't delete your post for no apparent reason. If you plan on deleting a question later, say so in the post, or if you feel that you have a good reason to remove it, message a mod beforehand. It's not fair to the ones who took their time to answer, and it's not in the spirit of the community.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 3 years ago
MODERATORS
 
top 11 comments
sorted by: hot top controversial new old
[–] Bluetreefrog@lemmy.world 1 points 3 weeks ago

Rule 5. Locking.

[–] muzzle@lemmy.zip 20 points 3 weeks ago (1 children)

That's nice :)))

[–] Zwuzelmaus@feddit.org 15 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

It is wrong. Git does not need a central system (although most people define one as the central). The local system has a repository, too.

Commits go into the local repository, not outside.

Push goes from the local repository (not from a commit that's hanging in the air) to a remote repository (most times to the "central" one).

There are pretty good tutorials on youtube. Just be sure to learn git itself first, and then all the website things like github etc.

[–] 30p87@feddit.org 3 points 3 weeks ago

Though you can also have multiple remotes each containing a subset or superset of your current branches and commits. Which is fun.

[–] BladeFederation@piefed.social 5 points 3 weeks ago (1 children)
[–] tdawg@lemmy.world 4 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Basic workflow that got me through the learning pains.

If I just sat down:

  • git checkout develop or whatever ur main branch is
  • git pull origin

If I'm working on a new branch:

(If not already on the new branch)

  • git branch -b feature/123-ticket-name

(After making some changes)

  • git add .
  • git commit
  • git push

Git will prompt you the first time you git push, just follow the instructions.

And of course there's tons more you could learn or dive into. But that should give you a stable foundation to start working from

[–] NocturnalMorning@lemmy.world 2 points 3 weeks ago

You'd be surprised how many people use git without knowing even the basics.

I've had a surpising amount of coworkers who have come to me for an issue that I literally googled for them to just give them the answer.

[–] slazer2au@lemmy.world 2 points 3 weeks ago

There are many many many many many git tutorials online. You literally need to stick the question into a search engine or watch a YouTube video.

[–] jlow@slrpnk.net 1 points 3 weeks ago

I've tried learning git a few times and new a bit about it but this article helped me understanding it quite a bit better:

https://www.chrismccole.com/blog/git-for-artists

The practical bits are about Github which you obviously don't want to use but you can still get the gist of it when using Codeberg or something similar.