Skip to content

Mettre en place le repository Git #1

Description

@andrechico999

DELL@DESKTOP-II8T1S7 MINGW64 ~
$ cd Documents/DebugJava

DELL@DESKTOP-II8T1S7 MINGW64 ~/Documents/DebugJava (main)
$ git init
Reinitialized existing Git repository in C:/Users/DELL/Documents/DebugJava/.git/

DELL@DESKTOP-II8T1S7 MINGW64 ~/Documents/DebugJava (main)
$ git config user.name
andre chico

DELL@DESKTOP-II8T1S7 MINGW64 ~/Documents/DebugJava (main)
$ git status
On branch main

No commits yet

nothing to commit (create/copy files and use "git add" to track)

DELL@DESKTOP-II8T1S7 MINGW64 ~/Documents/DebugJava (main)
$ git add
Nothing specified, nothing added.
hint: Maybe you wanted to say 'git add .'?
hint: Turn this message off by running
hint: "git config advice.addEmptyPathspec false"

DELL@DESKTOP-II8T1S7 MINGW64 ~/Documents/DebugJava (main)
$ git add README.md
fatal: pathspec 'README.md' did not match any files

DELL@DESKTOP-II8T1S7 MINGW64 ~/Documents/DebugJava (main)
$ git checkout -b andre chico
fatal: 'chico' is not a commit and a branch 'andre' cannot be created from it

DELL@DESKTOP-II8T1S7 MINGW64 ~/Documents/DebugJava (main)
$ git checkout -b andrechico
Switched to a new branch 'andrechico'

DELL@DESKTOP-II8T1S7 MINGW64 ~/Documents/DebugJava (andrechico)
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions