... | ... | @@ -20,4 +20,65 @@ Pour corriger cela, il faut ajouter le suffixe `.git` aux _remotes_ : |
|
|
|
|
|
```bash
|
|
|
git remote set-url origin https://src.koda-rec.cnrs.fr/mon_groupe/mon_projet.git
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
## Activer le mode _verbose_
|
|
|
En ligne de commande, il est possible d'obtenir plus de détails sur les requêtes effectuées par le client git.
|
|
|
Pour cela, il suffit de positionner la variable d'environnement `GIT_CURL_VERBOSE` à 1, par exemple :
|
|
|
|
|
|
```
|
|
|
$ GIT_CURL_VERBOSE=1 git pull
|
|
|
* Couldn't find host src.koda-rec.cnrs.fr
|
|
|
[...]
|
|
|
> GET /stephane.deraco/test1.git/info/refs?service=git-upload-pack HTTP/1.1
|
|
|
Host: src.koda-rec.cnrs.fr
|
|
|
User-Agent: git/2.25.1
|
|
|
Accept: */*
|
|
|
Accept-Encoding: deflate, gzip, br
|
|
|
Accept-Language: C, *;q=0.9
|
|
|
Pragma: no-cache
|
|
|
|
|
|
< HTTP/1.1 401 Unauthorized
|
|
|
< Server: nginx
|
|
|
< Date: Tue, 22 Feb 2022 07:42:09 GMT
|
|
|
< Content-Type: text/plain; charset=utf-8
|
|
|
[...]
|
|
|
|
|
|
> GET /stephane.deraco/test1.git/info/refs?service=git-upload-pack HTTP/1.1
|
|
|
Host: src.koda-rec.cnrs.fr
|
|
|
Authorization: Basic [REDACTED]
|
|
|
User-Agent: git/2.25.1
|
|
|
[...]
|
|
|
|
|
|
< HTTP/1.1 200 OK
|
|
|
< Server: nginx
|
|
|
< Date: Tue, 22 Feb 2022 07:42:09 GMT
|
|
|
< Content-Type: application/x-git-upload-pack-advertisement
|
|
|
[...]
|
|
|
|
|
|
Already up to date.
|
|
|
warning: git rebase --preserve-merges is deprecated. Use --rebase-merges instead.
|
|
|
Successfully rebased and updated refs/heads/main.
|
|
|
```
|
|
|
|
|
|
## Activer le mode _trace_
|
|
|
Pour avoir le détail des actions effectuées par le client git en ligne de commande, il faut positionner la variable d'environnement `GIT_TRACE` à 1 :
|
|
|
|
|
|
```
|
|
|
$ GIT_TRACE=1 git pull
|
|
|
08:49:31.445800 git.c:439 trace: built-in: git pull
|
|
|
08:49:31.500175 run-command.c:663 trace: run_command: git merge-base --fork-point refs/remotes/origin/main main
|
|
|
08:49:31.570635 run-command.c:663 trace: run_command: git fetch --update-head-ok
|
|
|
08:49:31.580928 git.c:439 trace: built-in: git fetch --update-head-ok
|
|
|
[...]
|
|
|
08:49:32.916706 git.c:439 trace: built-in: git rev-parse --git-dir
|
|
|
08:49:32.928392 git.c:439 trace: built-in: git rev-parse --show-cdup
|
|
|
08:49:32.940906 git.c:439 trace: built-in: git rev-parse --git-path objects
|
|
|
08:49:32.963115 git.c:439 trace: built-in: git rev-parse --verify HEAD
|
|
|
08:49:32.991363 git.c:439 trace: built-in: git rev-parse --git-path REBASE_HEAD
|
|
|
[...]
|
|
|
```
|
|
|
|
|
|
|
|
|
## Ouvrir un ticket
|
|
|
Vous pouvez ouvrir un ticket sur le [portail e-dem dédié à Koda](https://e-dem.cnrs.fr/jira/servicedesk/customer/portal/86). |
|
|
\ No newline at end of file |