Git: Installation in wrong folder name

Discussion of applications not mentioned above.
Locked
User avatar
topo01
Posts: 45
Joined: 27 Dec 2022, 20:19
Germany

Git: Installation in wrong folder name

Post 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.
F2-220, TOS 5.1.123 (8GB system partition), Docker 2.0.16 (Nextcloud, AdGuard Home), Terra Photos 2.0.13
User avatar
TMRyan
TerraMaster Team
Posts: 829
Joined: 01 Dec 2020, 11:50
China

Re: Git: Installation in wrong folder name

Post by TMRyan »

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)
sports_wook
Posts: 74
Joined: 04 Feb 2020, 05:00

Re: Git: Installation in wrong folder name

Post by sports_wook »

I noticed this as well and the same fix corrected the issue for me.
User avatar
davidecavestro
Posts: 23
Joined: 17 Jul 2023, 16:07

Re: Git: Installation in wrong folder name

Post 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 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'.
Should I open a new thread?
User avatar
davidecavestro
Posts: 23
Joined: 17 Jul 2023, 16:07

Re: Git: Installation in wrong folder name

Post 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 "$@"
Locked

Return to “Others”