@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 | View the thread | More toots from alexing@tech.lgbt
=> View raacz106@mstdn.social profile
text/gemini
This content has been proxied by September (ba2dc).