I used the root user to init, add, and commit git repo. (bad habit)
Now, I create a new normal user me.
How to let me to handle the repo made by root?
Use:
sudo chown user[:group] . -R
from within the repositories folder to change the owner, where user is the desired user (and optionally a group name may also be supplied).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With