1
Here’s how they turned out:
I sent it with bash using git push --force because the normal push wasn’t working. Can anyone tell me what happened and how to fix it? the folders are not empty in the original directory of my pc but on github so it turned gray instead of blue which is the color they use for folders.
Have you tried to create a submodule? What is the output of
git remote -v
? If you registered submodules they have to be valid on Github as well. If not you can always remove submodules withgit submodule deinit NomeDoModulo
. By the way, if you’ve cloned this repository, maybe it’s more productive to take this doubt for the Loiane.– Anthony Accioly
I deleted everything and created a new directory and does not add the folders. When I do git push origin master it appears to me: Usage: git remote add [<options>] <name> <url> -f, --fetch fetch the remote branches --tags import all tags and Associated Objects when fetching or do not fetch any tag at all (--no-tags) -t, -track <branch> branch(s) to track -m, -master <branch> master branch --mirror[=<push|fetch>] set up remote as a mirror to push or fetch from
– Danilo Silva
My git does not recognize folders even if they are not empty.
– Danilo Silva
You first need to make one
git init
, add and commit changes locally, add the remote repository and only then do thepush
. But anyway this is another question. the reason your folders were gray and empty was broken submodules.– Anthony Accioly
td this and yet: fatal: 'origin' does not appear to be a git Repository fatal: Could not read from remote Repository. Please make sure you have the correct access Rights and the Repository exists.
– Danilo Silva