Page 1 of 1
Git: Installation in wrong folder name
Posted: 30 Apr 2023, 19:55
by topo01
Hi
I think I found a bug with the installation of the git app with TOS 5.1.33:
I tried to clone a git repo today but the
git clone
command failed. I found that the installed git folder is named 'Git' instead of 'git'.
After renaming the folder to 'git' I was finally able to clone the repo.
Re: Git: Installation in wrong folder name
Posted: 30 Apr 2023, 20:07
by RyanYang
Thank you for your feedback. We will check it.
Re: Git: Installation in wrong folder name
Posted: 30 Apr 2023, 22:30
by sports_wook
I noticed this as well and the same fix corrected the issue for me.
Re: Git: Installation in wrong folder name
Posted: 02 Aug 2023, 13:53
by davidecavestro
TMRyan wrote: ↑30 Apr 2023, 20:07
Thank you for your feedback. We will check it.
git clone fails for me, both using https and ssh
It is the first time I try it on TOS (v5.1.40).
I see the officlal app (v2.34.1) packaged at
/Volume1/@apps/Git
Some example:
Code: Select all
[********@**** tmp]# git clone [email protected]:tsenart/vegeta.git
Cloning into 'vegeta'...
warning: templates not found in /usr/local/git/share/git-core/templates
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
[********@**** tmp]# git clone https://github.com/tsenart/vegeta.git
Cloning into 'vegeta'...
warning: templates not found in /usr/local/git/share/git-core/templates
git: 'remote-https' is not a git command. See 'git --help'.
Should I open a new thread?
Re: Git: Installation in wrong folder name
Posted: 03 Aug 2023, 00:31
by davidecavestro
ouch... in the meantime I've gone with the following script at
/usr/local/bin/git
Code: Select all
#!/bin/bash
docker run -v $(pwd):/git -u $(id -u) --rm -it alpine/git "$@"