B
B
Berti2016-08-05 12:43:57
git
Berti, 2016-08-05 12:43:57

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

1 answer(s)
A
aol-nnov, 2016-08-05
@Berti

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 question

Ask a Question

731 491 924 answers to any question