Création d'un dépot en local sur github
BOWELL_87
Messages postés
21
Date d'inscription
Statut
Membre
Dernière intervention
-
zipe31 Messages postés 36402 Date d'inscription Statut Contributeur Dernière intervention -
zipe31 Messages postés 36402 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour,
J'ai un problème avec GitHub, à chaque quand je veux créer mon dépot local avec mon GitBash j'ai ce message:
moranga@Dylan-PC MINGW32 ~
$ cd Documents/MonPremierProjet_GitHub
bash: cd: Documents/MonPremierProjet_GitHub: No such file or directory
Il y a quelqu'un qui peut m'aider à résoudre ce problème car ça m’empêche d'avancer.
Merci.
J'ai un problème avec GitHub, à chaque quand je veux créer mon dépot local avec mon GitBash j'ai ce message:
moranga@Dylan-PC MINGW32 ~
$ cd Documents/MonPremierProjet_GitHub
bash: cd: Documents/MonPremierProjet_GitHub: No such file or directory
Il y a quelqu'un qui peut m'aider à résoudre ce problème car ça m’empêche d'avancer.
Merci.
A voir également:
- Création d'un dépot en local sur github
- Appdata local - Guide
- Creation compte gmail - Guide
- Création site web - Guide
- Ip local - Guide
- Création d'un compte google - Guide
9 réponses
Salut,
Est-ce que le dossier "MonPremierProjet_GitHub" existe dans "~/Documents/" ?
Parce que le message d'erreur est explicite (No such file or directory) ;-\
Est-ce que le dossier "MonPremierProjet_GitHub" existe dans "~/Documents/" ?
Parce que le message d'erreur est explicite (No such file or directory) ;-\
Bonjour zipe31,
Bien sur que oui, c'est même pour ça que je ne comprends pas pourquoi il ne marche pas.
Merci.
Bien sur que oui, c'est même pour ça que je ne comprends pas pourquoi il ne marche pas.
Merci.
Bonjour,
Voilà ce que j'ai quand j'affiche les deux lignes:
moranga@Dylan-PC MINGW32 ~
$ file ~/Documents/MonPremierProjet_GitHub
/z//Documents/MonPremierProjet_GitHub: cannot open `/z//Documents/MonPremierProjet_GitHub' (No such file or directory)
moranga@Dylan-PC MINGW32 ~
$ ls -lh ~/Documents/MonPremierProjet_GitHub
ls: cannot access '/z//Documents/MonPremierProjet_GitHub': No such file or directory
Voilà ce que j'ai quand j'affiche les deux lignes:
moranga@Dylan-PC MINGW32 ~
$ file ~/Documents/MonPremierProjet_GitHub
/z//Documents/MonPremierProjet_GitHub: cannot open `/z//Documents/MonPremierProjet_GitHub' (No such file or directory)
moranga@Dylan-PC MINGW32 ~
$ ls -lh ~/Documents/MonPremierProjet_GitHub
ls: cannot access '/z//Documents/MonPremierProjet_GitHub': No such file or directory
Non non je suis sur un système Windows 7 32 bits et je suis en train d'apprendre Git et GitHub.
Voilà le résultat de la commande:
moranga@Dylan-PC MINGW32 ~
$ ls -lh /home/moranga/Documents/MonPremierProjet_GitHub
ls: cannot access '/home/moranga/Documents/MonPremierProjet_GitHub': No such file or directory
Voilà le résultat de la commande:
moranga@Dylan-PC MINGW32 ~
$ ls -lh /home/moranga/Documents/MonPremierProjet_GitHub
ls: cannot access '/home/moranga/Documents/MonPremierProjet_GitHub': No such file or directory
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Oui j'ai installé le logiciel Git Bash sur mon ordinateur.
Voilà le résultat de la commande pwd:
moranga@Dylan-PC MINGW32 ~
$ pwd
/z/
Voilà le résultat de la commande pwd:
moranga@Dylan-PC MINGW32 ~
$ pwd
/z/
Voilà le résultat de ls -lh:
moranga@Dylan-PC MINGW32 ~
$ ls -lh
total 1,1G
-rwxr-xr-x 1 moranga 1049089 1,1M janv. 9 2018 7z1604.exe*
-rw-r--r-- 1 moranga 1049089 11K janv. 10 2018 'Connecter sans mot de passe.docx'
-rw-r--r-- 1 moranga 1049089 11K janv. 23 2018 Cyberoam.docx
drwxr-xr-x 1 moranga 1049089 0 janv. 9 2018 'Italc key'/
drwxr-xr-x 1 moranga 1049089 0 sept. 14 2018 'Liste des eleves 2018-2019'/
drwxr-xr-x 1 moranga 1049089 0 janv. 9 2018 'Logiciel clavier et souris'/
-rwxr-xr-x 1 moranga 1049089 1003M déc. 5 2013 'Suite installation saintex ordi portable v1.exe'*
-rw-r--r-- 1 moranga 1049089 9,0K janv. 9 2018 Thumbs.db
-rw-r--r-- 1 moranga 1049089 20M janv. 9 2018 'VCE Exam Simulator PRO 1.0.rar'
-rw-r--r-- 1 moranga 1049089 15M janv. 9 2018 videoplayback.mp4
moranga@Dylan-PC MINGW32 ~
$ ls -lh
total 1,1G
-rwxr-xr-x 1 moranga 1049089 1,1M janv. 9 2018 7z1604.exe*
-rw-r--r-- 1 moranga 1049089 11K janv. 10 2018 'Connecter sans mot de passe.docx'
-rw-r--r-- 1 moranga 1049089 11K janv. 23 2018 Cyberoam.docx
drwxr-xr-x 1 moranga 1049089 0 janv. 9 2018 'Italc key'/
drwxr-xr-x 1 moranga 1049089 0 sept. 14 2018 'Liste des eleves 2018-2019'/
drwxr-xr-x 1 moranga 1049089 0 janv. 9 2018 'Logiciel clavier et souris'/
-rwxr-xr-x 1 moranga 1049089 1003M déc. 5 2013 'Suite installation saintex ordi portable v1.exe'*
-rw-r--r-- 1 moranga 1049089 9,0K janv. 9 2018 Thumbs.db
-rw-r--r-- 1 moranga 1049089 20M janv. 9 2018 'VCE Exam Simulator PRO 1.0.rar'
-rw-r--r-- 1 moranga 1049089 15M janv. 9 2018 videoplayback.mp4
Franchement je ne sais pas quoi te repondre zipe31, je suis embarassé face à cette situation, donc je cherche la solution.
Voilà le chemin ou se trouve le dossier qui contient mon logiciel Git Bash:
C:\Program Files\Git\mingw32.
Merci.
Voilà le chemin ou se trouve le dossier qui contient mon logiciel Git Bash:
C:\Program Files\Git\mingw32.
Merci.
Bonjour,
Depuis ton explorateur windows tu te places dans ton dossier MonPremierProjet_GitHub
Puis tu fais un clic droit dans le dossier et tu choisis la commande git bash here ?
cela devrait ouvrir la fenetre gitbash en t'ayant positionné dans le dossier de ton projet.
Sinon, pour savoir dans quel dossier tu es, il suffit de taper la commande pwd
Depuis ton explorateur windows tu te places dans ton dossier MonPremierProjet_GitHub
Puis tu fais un clic droit dans le dossier et tu choisis la commande git bash here ?
cela devrait ouvrir la fenetre gitbash en t'ayant positionné dans le dossier de ton projet.
Sinon, pour savoir dans quel dossier tu es, il suffit de taper la commande pwd
Salut,
D'après ce que je comprends, il aurait défini comme répertoire personnel un dossier nommé "/z/" ;-(
Sinon, pour savoir dans quel dossier tu es, il suffit de taper la commande pwdLa commande a été demandée là et le résultat est pour le moins déroutant ;-\
D'après ce que je comprends, il aurait défini comme répertoire personnel un dossier nommé "/z/" ;-(
zipe31, jordane45, je ne sais comment vous remercier car je viens d'integrer le forum mais je vous assure que je suis satisfait, la suite, j'avance.
Merci.
moranga@Dylan-PC MINGW32 /c/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub
$ cd /c/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub
moranga@Dylan-PC MINGW32 /c/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub
$ git init
Initialized empty Git repository in C:/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub/.git/
moranga@Dylan-PC MINGW32 /c/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub (master)
$
Merci.
moranga@Dylan-PC MINGW32 /c/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub
$ cd /c/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub
moranga@Dylan-PC MINGW32 /c/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub
$ git init
Initialized empty Git repository in C:/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub/.git/
moranga@Dylan-PC MINGW32 /c/Users/moranga.SAINTEX/Documents/MonPremierProjet_GitHub (master)
$