4
respostas

git não reconhecido

Criei um projeto pelo cmd , para angular e deu

'git' não é reconhecido como um comando interno ou externo , um programa operável ou um arquivo em lotes.

fui olhar o variavéis em ambiente e lá está o git/cmd , se eu colocar o git/bin não vai da choque entre os arquivos não ? Como resolvo isso ?

4 respostas

e agora deu isso

√ Packages installed successfully. warning: LF will be replaced by CRLF in .browserslistrc. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in .editorconfig. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in .gitignore. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in README.md. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in angular.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in karma.conf.js. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in package-lock.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in package.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app.component.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app.component.spec.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app.component.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/app/app.module.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/environments/environment.prod.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/environments/environment.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/index.html. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/main.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/polyfills.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/styles.css. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in src/test.ts. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in tsconfig.app.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in tsconfig.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in tsconfig.spec.json. The file will have its original line endings in your working directory Author identity unknown

*** Please tell me who you are.

Run

git config --global user.email "you@example.com" git config --global user.name "Your Name"

to set your account's default identity. Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'MATHEUS@DESKTOP-SK6THGG.(none)')

Ele instalou normal com o link , porém esse erro acima pode dá algo ruim ?

Fala, Matheus! Tudo bem?

Desculpa a demora.

Referente ao segundo erro:

A primeira parte é um alerta, não um erro, que avisa que as quebras de linhas serão alteradas de LF para CRLF no repositório, mas no local serão mantidas. Você não precisa se preocupar com isso, já que o Git faz para manter a compatibilidade entre os sistemas operacionais (que usam quebra de linha diferentes).

Já o último erro é que você não tem um email configurado, nem um usuário. Você precisa rodar os comandos abaixo para definir um nome e um email, que serão usados para gravar que foi você que fez os commits:

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

Substituindo o que está entre aspas pelo seu email, e depois pelo seu nome.

Qualquer coisa é só falar! Bons estudos!

Obrigadoo ! :)