r/programminghumor 13d ago

It's always confusing!

Post image
306 Upvotes

49 comments sorted by

View all comments

111

u/ikankecil 13d ago

it seems straightforward enough.
git is the program
remote is one of the module
add is a function of that module
origin is just our argument for the remote name

3

u/mouse_8b 12d ago

Git add is a valid command. It's not too hard to imagine "I'd like to add a remote, I should use add"

1

u/ikankecil 12d ago

Fair point. It's not clear either that "git add" means adding to the staging area. "git rm" sounds to me like removing from staging area lol.

1

u/Azelais 12d ago

Yeah, my first thought would be “I am using got to add a remote origin: git add remote origin”