Creating gitconfig file in /home -> Permission denied


#1

permission is drwxr-xr-x, but I cannot create the needed file, gitconfig, there in /home. I wanted to create couple shortcuts like:
ci = commit
st = status
What way is it possible to do at c9. (During my trials to create the gitconfig I tried sudo, but could not use raised privileges because of ‘Authentication failure’.)


#2

.gitconfig should be in ~ which is /home/ubuntu /home is not writable because it is owned by the root user.

run c9 open ~/.gitconfig to edit the file


#3

Thank you. I found it is here
/mnt/shared/plugins/google.cloud/etc/gitspace. c9 open saved my changes.
The shortcuts I needed work now. Thank you a lot.