LoveEspresso@cafe.coffee-break.cc to Ask Lemmy@lemmy.worldEnglish · 1 day agoHow to step into the world of git ?lockcafe.coffee-break.ccimagemessage-square11fedilinkarrow-up117arrow-down19
arrow-up18arrow-down1imageHow to step into the world of git ?lockcafe.coffee-break.ccLoveEspresso@cafe.coffee-break.cc to Ask Lemmy@lemmy.worldEnglish · 1 day agomessage-square11fedilink
minus-squareZwuzelmaus@feddit.orglinkfedilinkarrow-up16arrow-down1·edit-21 day agoIt 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 day agoThough 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.