LoveEspresso@cafe.coffee-break.cc to Ask Lemmy@lemmy.worldEnglish · 1 个月前How to step into the world of git ?lockcafe.coffee-break.ccimagemessage-square11linkfedilinkarrow-up119arrow-down19
arrow-up110arrow-down1imageHow to step into the world of git ?lockcafe.coffee-break.ccLoveEspresso@cafe.coffee-break.cc to Ask Lemmy@lemmy.worldEnglish · 1 个月前message-square11linkfedilink
minus-squareZwuzelmaus@feddit.orglinkfedilinkarrow-up16arrow-down1·1 个月前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.
minus-squareLucy :3@feddit.orglinkfedilinkarrow-up3·1 个月前Though you can also have multiple remotes each containing a subset or superset of your current branches and commits. Which is fun.
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.
Though you can also have multiple remotes each containing a subset or superset of your current branches and commits. Which is fun.