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.
Git: Installation in wrong folder name
Git: Installation in wrong folder name
F2-220, TOS 5.1.123 (8GB system partition), Docker 2.0.16 (Nextcloud, AdGuard Home), Terra Photos 2.0.13
Re: Git: Installation in wrong folder name
Thank you for your feedback. We will check it.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
-
- Posts: 74
- Joined: 04 Feb 2020, 05:00
Re: Git: Installation in wrong folder name
I noticed this as well and the same fix corrected the issue for me.
- davidecavestro
- Posts: 23
- Joined: 17 Jul 2023, 16:07
Re: Git: Installation in wrong folder name
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 git@github.com:tsenart/vegeta.git
Cloning into 'vegeta'...
warning: templates not found in /usr/local/git/share/git-core/templates
git@github.com: 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'.
- davidecavestro
- Posts: 23
- Joined: 17 Jul 2023, 16:07
Re: Git: Installation in wrong folder name
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 "$@"