I cannot create a remote repository and I cannot pass the files from the local p/ remote

Asked

Viewed 109 times

0

inserir a descrição da imagem aquiEu tentei através do github desktop, mas ele passa esse error. Mesmo asssim o nome não foi alterado, não foi deletado e eu tenho acesso a pasta.

I already tried through cmd prompt as well. It didn’t work. I went to the folder with the cd command/file path. did git init, git add, git commit and git remote add origin url. It didn’t work when I give git push says it doesn’t find the repository.

Help me out, please!

  • What format of the url you used in git remote add origin <url>?

  • I’ll put more hints up!

  • When you use the git remote command, what appears?

  • when use git remote appears written only origin

  • this means that your remote repository is already trackeado with the local. Do the following : git push -u origin master

  • I did, but it says afterwards: remote: Repository not found. and fatal: Repository 'url' not found

  • I took the liberty of searching your Github and there is no such project, so it really won’t be able to track, you can then create a repositorio la with the same name 'Angularjs' or do what Atmos sent in your reply.

Show 2 more comments

1 answer

0


Boy, I think that print you sent me is pretty clear. The repository you are trying to upload your changes to no longer exists, or has been renamed, or you are no longer allowed to perform pushs directly. If Reset exists and you no longer have permission, you will have to submit pull requests. If it has been renamed, simply rename your local repository remote to the new repository remote in git (project URL), with the following command:

git remote set-url origin novo_remote

Browser other questions tagged

You are not signed in. Login or sign up in order to post.