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
@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
@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
@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
@raacz106 @alexing stage history? li seme, seme li toki e ni
=> More informations about this toot | More toots from tbodt@mastodon.social
@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
@alexing @raacz106 aaa
=> More informations about this toot | More toots from tbodt@mastodon.social
@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 This content has been proxied by September (ba2dc).Proxy Information
text/gemini