Answer the question
In order to leave comments, you need to log in
What is the problem when committing in GIT: Use your own repository for commit?
The essence of the question is as follows: I
add a file for a commit, git add <файл>
then I commit myself, git commit -m "какой то текст"
as a result I receive a message Use your own repository for commit.
and the commit is not made
why GIT does not believe that this is my repository and how to fix it
Answer the question
In order to leave comments, you need to log in
Let me guess
, you have a continuous deployment on your server through a git thread and there is a hook there that prohibits commits in the working copy.
clone it on your computer, make edits there and then
let it go, or here's bad advice for you:
git commit -nm "some text"
and run, run!!1 ;)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question