Git can push but cannot pull branches that have been changed by others.

clipboard.png
find Daniel"s solution and be grateful

Mar.02,2021

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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eadd5b-47f5d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eadd5b-47f5d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?