In my current directory, I git add
origin
and fetch
. However, when I push, git push origin master
does more than just push the current directory and all the subfolders. Somehow the origin
and fetch
are set to my parent directory.
So, in context, I have /goo/foo/bar/baz
. I am in bar
and I want only baz
to show up in my GitHub. Instead, I somehow push /goo
.
(In real life, I just devise practice
to be pushed here).