Can perform git commit from Cloudron terminal
-
In the Cloudron terminal, after authenticating over https, I have had no trouble with
git pullBut I have not had success with
git commit git pushGit requires that I identify who I am in order to commit (and therefore push). But the Cloudron terminal won't let me do that. I think that where Git wants to write my credentials is read only.
-
In the Cloudron terminal, after authenticating over https, I have had no trouble with
git pullBut I have not had success with
git commit git pushGit requires that I identify who I am in order to commit (and therefore push). But the Cloudron terminal won't let me do that. I think that where Git wants to write my credentials is read only.
I figured it out.
Git's inline help, upon not knowing who you are, makes the suggestions:
git config --global user.email <email>
git config --global user.name <name>Cloudron's problem is "--global". It has no problem with setting the user.name and user.email for a particular /app.
So this solved my problem:
git config user.email <email>
git config user.name <name>of course substituting my email address for "<email>" and my name for "<name>".
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login