find Daniel"s solution and be grateful
find Daniel"s solution and be grateful
since the screenshot is taken, why not give the complete output information.
see that the output information is caused by file system permissions, which may be caused by two linux users operating the same git project at the same time. Take a look at the permission properties of the .git / objects
folder to see if your own account has write permission to it:
ls -al .git/
if you are not sure which group you belong to, you can view it by executing the following command:
cat /etc/passwd | grep $USER
if you determine that it is a file permission problem, you can change the file owner to yourself by executing the following command:
sudo chown -R your_user:your_group .git
if the problem is not solved, or if you still have questions, please post the output of the first two commands.
if you are not proficient in English, you can translate that error sentence under Baidu copy and you will know why
Previous: How to correctly use redis queue to deal with php second kill concurrency problem?
Next: Do you have WeChat Mini Programs about the answer? Form form restrictions on submission