Saturday, May 8, 2021

Git Error in 'git add' command wrt Long File Names



~\my_repo>git add -A

error: open("Lessons in Technology/Cyber Security/Polymorphism in Google Drive and Google Chrome (wrt Handling an Exe File)/11 - incognito, User2, you do not get remove rights on a file but you do get remove rights on the entire directory shared with you.png"): Filename too long
error: unable to index file 'Lessons in Technology/Cyber Security/Polymorphism in Google Drive and Google Chrome (wrt Handling an Exe File)/11 - incognito, User2, you do not get remove rights on a file but you do get remove rights on the entire directory shared with you.png'
fatal: adding files failed

Does not give all the "Long File Name Errors in One Go", see this new error in second try:

~\my_repo>git add -A

error: open("Lessons in Technology/Cyber Security/Polymorphism in Google Drive and Google Chrome (wrt Handling an Exe File)/9 - inconito firefox, User2, potentially infected exe file not downloadable from incognito chrome is allowed to be downloaded here.png"): Filename too long
error: unable to index file 'Lessons in Technology/Cyber Security/Polymorphism in Google Drive and Google Chrome (wrt Handling an Exe File)/9 - inconito firefox, User2, potentially infected exe file not downloadable from incognito chrome is allowed to be downloaded here.png'
fatal: adding files failed

Tags: Technology,GitHub,

No comments:

Post a Comment