Résolu le 26-12-19 clonage d'un dépôt bitbucket

Répondre
bry
Messages : 51
Enregistré le : mer. 14 août 2019 09:34
Localisation : sur terre !!

clonage d'un dépôt bitbucket

Message par bry »

Je tente de copier un dépôt sur ma machine.
Ben, j'ai pas le droit !!!
Et pourquoi donc ?

Code : Tout sélectionner

bry@bry-K30AD-M31AD-M51AD:~$ hg clone ssh://hg@bitbucket.org/TYMPAN/code_tympan
remote: Warning: Permanently added the RSA host key for IP address '18.205.93.1' to the list of known hosts.
remote: hg@bitbucket.org: Permission denied (publickey).
abort: no suitable response from remote hg!
pc1 : asus M31AD/i5-4460S 2,9GHz 4 coeurs/RAM 2x8Go/HDD 1To/cg nvidia GTX 1050Ti/wifi:realtek RTL8821AE/Dual boot : W10/linux mint 19.3 tricia cinnamon 4.4.5/noyau linux 5.0.0-37-generic
pc2 : HP media center M1150FR/intel pentium4 2,9GHz/RAM 1Go/HDD 160Go/CG nvidia GEforce 210/distros bodhi linux 5.1.0 et AntiX
Avatar du membre
arghlub
Administrateur du site
Messages : 11560
Enregistré le : dim. 21 mai 2017 08:19
Localisation : Provence

Re: clonage d'un dépôt bitbucket

Message par arghlub »

SALUT bry,

Ne passe pas par «ssh» mais par «https» :

Code : Tout sélectionner

hg clone https://hg@bitbucket.org/TYMPAN/code_tympan
;)
Tour1 (custom) CPU Intel I7-7700K | CG Nvidia GTX 1080 | RAM 16Go | tripleBoot : LMint 22.3 | Debian 12 | MX Linux | XFCE
Tour2 (custom) CPU AMD Athlon 5200+ | CG Nvidia GTX 560 | RAM 6Go | FreeBSD XFCE
Portable1 MSI GF75 Thin 9SC | CPU Intel I7-9750H | CG Nvidia GTX 1650 | RAM 32Go | dualBoot : LMint 22.1 | MX Linux | XFCE
Portable2 MacBook Air A1466 | CPU Intel I5-5250U | CG Intel HD Graphics 6000 | RAM 8Go | dualBoot : macOS Sierra | MX Linux XFCE
─────( pour une informatique libre ! )─────
bry
Messages : 51
Enregistré le : mer. 14 août 2019 09:34
Localisation : sur terre !!

Re: clonage d'un dépôt bitbucket

Message par bry »

Code : Tout sélectionner

hg clone https://hg@bitbucket.org/TYMPAN/code_tympan
c'est ok.
C'est comme si j'avais simplement téléchargé directement depuis le site ?
Ou bien, ça fait d'autres choses insoupçonnées ?
pc1 : asus M31AD/i5-4460S 2,9GHz 4 coeurs/RAM 2x8Go/HDD 1To/cg nvidia GTX 1050Ti/wifi:realtek RTL8821AE/Dual boot : W10/linux mint 19.3 tricia cinnamon 4.4.5/noyau linux 5.0.0-37-generic
pc2 : HP media center M1150FR/intel pentium4 2,9GHz/RAM 1Go/HDD 160Go/CG nvidia GEforce 210/distros bodhi linux 5.1.0 et AntiX
Avatar du membre
arghlub
Administrateur du site
Messages : 11560
Enregistré le : dim. 21 mai 2017 08:19
Localisation : Provence

Re: clonage d'un dépôt bitbucket

Message par arghlub »

quand tu clones, tu télécharges depuis le site mais tu devrais avoir aussi les différents "commit".
je ne t'en dirais pas plus, je ne vais pas te faire un cours complet sur les git....
Renseigne-toi sur le web.

Si le sujet est résolu, merci de mettre un attribut de sujet (résolu), voir tuto ici
;)
Tour1 (custom) CPU Intel I7-7700K | CG Nvidia GTX 1080 | RAM 16Go | tripleBoot : LMint 22.3 | Debian 12 | MX Linux | XFCE
Tour2 (custom) CPU AMD Athlon 5200+ | CG Nvidia GTX 560 | RAM 6Go | FreeBSD XFCE
Portable1 MSI GF75 Thin 9SC | CPU Intel I7-9750H | CG Nvidia GTX 1650 | RAM 32Go | dualBoot : LMint 22.1 | MX Linux | XFCE
Portable2 MacBook Air A1466 | CPU Intel I5-5250U | CG Intel HD Graphics 6000 | RAM 8Go | dualBoot : macOS Sierra | MX Linux XFCE
─────( pour une informatique libre ! )─────
Répondre