Ancestors

Toot

Written by lakuse on 2024-10-20 at 19:27

being guided through setting up git to connect to github to deploy to pages via terminal for the first time. still confused on what a 'stage' is and why everything has to get on the stage before they are committed. is the stage where they have to all do job interviews? is it some awkward audtion scene like from Pitch Perfect? if git doesn't like how you did on stage, can they deny the commit?

if the stage is so redundant, why is it still around? for audition participation awards or what

=> More informations about this toot | More toots from raacz106@mstdn.social

Descendants

Written by alexing on 2024-10-31 at 18:26

@raacz106 you stage files you want to commit because that way, if there's a file you're working on and don't want to commit right away (or ever), you can simply not stage it

also staging means git can show you all the staged files with git status meaning you can double-check that you're not accidentally making public any unwanted files. if you are you can then unstage them before committing

=> More informations about this toot | More toots from alexing@tech.lgbt

Written by alexing on 2024-10-31 at 18:31

@raacz106 oh also if you stage your changes then git diff by default shows you changes you've made compared to the staged versions not the committed versions

so like if i had a file in the latest commit that goes "abc" and i change it completely to "xyz", i can stage that

then as i'm working, maybe i change it to "xyzw", and git diff will show "xyz" <=> "xyzw" instead of "abc" <=> "xyzw"

you can still compare to latest commit by doing git diff HEAD ("HEAD" is a magic git word that means 'the last commit'. if you do HEAD~3 that means 3 commits before the last commit)

=> More informations about this toot | More toots from alexing@tech.lgbt

Written by lakuse on 2024-10-31 at 18:52

@alexing FASCINATING. this is good information, t did not do a good job of explaining, but also t was distracted at the time that i asked.

i didn't know you can not stage a file. that is quite clarifying. i thought you had to stage everything in order to proceed.

and stage history makes a lot of sense. i can see this as being super helpful for maintaining utala.pona.la

sina pona a tan pana sona sina a!

=> More informations about this toot | More toots from raacz106@mstdn.social

Written by tbodt on 2024-10-31 at 19:30

@raacz106 @alexing stage history? li seme, seme li toki e ni

=> More informations about this toot | More toots from tbodt@mastodon.social

Written by alexing on 2024-10-31 at 19:54

@tbodt @raacz106 sama ni ansen: sina pana e lipu tawa ilo git li pana ale ala e ona tawa ilo weka, la ilo git li awen e sona pi tenpo pana ni, la ilo git diff en ilo ante la sina ken kepeken sona ni kepeken ala pana ale

=> More informations about this toot | More toots from alexing@tech.lgbt

Written by tbodt on 2024-10-31 at 21:09

@alexing @raacz106 aaa

=> More informations about this toot | More toots from tbodt@mastodon.social

Written by tbodt on 2024-10-31 at 21:13

@alexing @raacz106 mi kama toki sama ni: ilo git add la sina wile pana e ijo, ilo git commit li pana e ijo wile ale

=> More informations about this toot | More toots from tbodt@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113341396378433507
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
281.795236 milliseconds
Gemini-to-HTML Time
1.811417 milliseconds

This content has been proxied by September (ba2dc).