Toot

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 | View the thread | More toots from alexing@tech.lgbt

Mentions

=> View raacz106@mstdn.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113403461415745812
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
326.663679 milliseconds
Gemini-to-HTML Time
0.596634 milliseconds

This content has been proxied by September (ba2dc).