I downloaded someone else's already ready repository. Add a folder
|
2 answers
git add ./src
you have instead. worth:
- All the same, the same thing - sinevik
|
You for some reason do not have access to the service files of the repository ..
You can fix permissions to the repository / settings files as follows:
sudo chown -R $USER .git sudo chown -R $USER ~/.config/git Instead of the $ USER variable, you can write your username: ivansinevich
- And how do you get rid of this sudo? - sinevik
- In the sense of getting rid of? Why don't you have permission to access the
~/.config/git/attributesfile? - vp_arth - I was told that if you use sudo, then you get sick of problems. I don’t understand what it means, what sudo, what is there - sinevik
- Here, instead of $ User, I need to enter my own, do I understand correctly? - sinevik
- ivansinevich $ sudo chown -R $ ivansinevich .git - sinevik
|


git clonefrom underroot? - vp_arth