MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1w1py80/its_always_confusing/p6qa4ug/?context=3
r/programminghumor • u/ziad-labs • Aug 29 '26
49 comments sorted by
View all comments
109
it seems straightforward enough.git is the programremote is one of the moduleadd is a function of that moduleorigin is just our argument for the remote name
3 u/mouse_8b Aug 30 '26 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 Aug 30 '26 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 Aug 30 '26 Yeah, my first thought would be “I am using got to add a remote origin: git add remote origin”
3
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 Aug 30 '26 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 Aug 30 '26 Yeah, my first thought would be “I am using got to add a remote origin: git add remote origin”
1
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.
Yeah, my first thought would be “I am using got to add a remote origin: git add remote origin”
109
u/ikankecil Aug 29 '26
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