D
D
Demiss1652019-09-16 23:43:54
git
Demiss165, 2019-09-16 23:43:54

"fatal: invalid refspec" error in git - how to push changes to fork repository?

How to push changes to a fork repository? I did the following command in the Ubuntu Linux console application: git push origin feature Username for ' https://github.com ' : demiss165651 ' Help with a smart word ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2019-09-16
@glaphire

Let's help with a link to stackoverflow with a similar problem)
Possible solutions:
1) configure or check the origin settings of the repository, whether they correspond to the repository you need. If not, google how it is configured. Submit the changes with the command
git push origin <branchname>. It may require an account password directly in the console, but you yourself will see it.
2) If you really want to send via the refspec protocol, google github refspec and adapt the examples to your data.
Spend time on the basics of using the git, then it will be easier

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question