I am collaborating on a repository where they upload translations of JS documentation. I translated a new file and I want to add it to such repository. The owners told me to do a pull request: that I should create a fork, create a branch, commit my translation and then make the pull request.
I've done all those things but I get the mistake "fatal: not a valid revision". I understand I must be missing the version number but since I am just uploading a new documentation, I do not know how that can be possible. This is what I have written in git bash so far to no avail:
git add ES6.md
That's my translation.
git commit -m "new translation"
git request-pull -p "destructuring es6" <repo URL>
I think I'm missing the :master at the end but I'm not sure if I should use it. This is the error message I get:
fatal: not a valid revision: destructuring es6
The owners from the repository asked me to do through GitHub, so I followed all those steps they told me but on GitHub.
I wanted to test my git knowledge but I didn't know people make pull requests through the website.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With