Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Can perform git commit from Cloudron terminal

Can perform git commit from Cloudron terminal

Scheduled Pinned Locked Moved Solved Support
git
2 Posts 1 Posters 469 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ShaiS Offline
    ShaiS Offline
    Shai
    wrote on last edited by Shai
    #1

    In the Cloudron terminal, after authenticating over https, I have had no trouble with

    git pull
    

    But I have not had success with

    git commit
    git push
    

    Git 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.

    ShaiS 1 Reply Last reply
    0
    • ShaiS Shai

      In the Cloudron terminal, after authenticating over https, I have had no trouble with

      git pull
      

      But I have not had success with

      git commit
      git push
      

      Git 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.

      ShaiS Offline
      ShaiS Offline
      Shai
      wrote on last edited by
      #2

      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>".

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search