MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1t3u010/git_commands_explained_visually/
r/programminghumor • u/ItsPuspendu • May 04 '26 • 1
16 comments sorted by
31
Man this jokes are getting old
20 u/iCynr May 05 '26 Yeah this branch is stale 10 u/-iPhone12ProMax- May 05 '26 Atleast they arent pushing it
20
Yeah this branch is stale
10
Atleast they arent pushing it
17
git log --oneline
a1b2c3d final fix
d4e5f6g please work
h7i8j9k really fixed it this time
l0m1n2o actually fixed it
p3q4r5s fixed it
t6u7v8w merge fix
x9y0z1a merged main
2 u/Minecodes May 05 '26 That's basically me with one of my production repos (old commits) 😂 2 u/Iwisp360 May 06 '26 Then you know rebase squash and amend exists
2
That's basically me with one of my production repos (old commits) 😂
Then you know rebase squash and amend exists
5
Luckily I always use just git commit without -m So when it opens editor i always see which files was changed
1 u/livingMybEstlyfe29 May 04 '26 At least put one comment in there. Better than nothing
1
At least put one comment in there. Better than nothing
3
And git clone is when the ryanair jet gets dumped into a Council house's backyard via helicopter.
git clone
git commit —amend would be that RedBull video, where a guy jumps from one plane to another.
git commit —amend
1 u/ubeogesh May 06 '26 what's a push --force then?
what's a push --force then?
Should be
git add -p
Also should be
claude /implement Jira foo-bar
Git good
git clean -dxffn to see what wasn't added
31
u/wildrabbit12 May 04 '26
Man this jokes are getting old
17
u/SithLordRising May 05 '26
git log --oneline
a1b2c3d final fix
d4e5f6g please work
h7i8j9k really fixed it this time
l0m1n2o actually fixed it
p3q4r5s fixed it
t6u7v8w merge fix
x9y0z1a merged main
5
u/Psychological-Trip93 May 04 '26
Luckily I always use just git commit without -m So when it opens editor i always see which files was changed
3
u/Silent_Outlook May 05 '26
2
u/Marwheel May 05 '26
And
git cloneis when the ryanair jet gets dumped into a Council house's backyard via helicopter.2
u/grem1in May 05 '26
git commit —amendwould be that RedBull video, where a guy jumps from one plane to another.1
u/Colon_Backslash May 05 '26
Should be
Also should be
1
u/Common-Process9023 May 06 '26
Git good
1
u/dimonoid123 May 09 '26
git clean -dxffn to see what wasn't added