Giter Club home page Giter Club logo

reprograma_backend_09_08_2020's Introduction

Conteúdo:

Status http

https://http.cat/

https://httpstatusdogs.com/

Comandos GIT

pwd: para entender onde se esta

ls: lista tudo que tem dentro

mkdir: cria pasta

cd: entra em uma pasta

echo: cria o conteúdo que vc quiser no arquivo que vc quiser ex: echo "oi" > index.html

touch: cria arquivos

rm: exclui arquivos

cd.. : eu volto uma pasta

rm -r : exclui pasta

Identificação na máquina

git config - -global user.name "Seu nome"

git config - -global user.email "[email protected]"

para confirmar: git config - -list

Para dar push (empurar) em uma pasta

1ºAbra o git bash na pasta que será empurrada

2º git init (comando feito uma única vez, sinaliza que esta pasta será "empurrada" para a nuvem)

3º ls -a mostrará os arquivos ocultos (ex: .git)

4º git status (aparecerão os arquivos em vermelho)

5º git add nome_arquivo ou git add . (para adicionar um arquivo ou todos para a staging area e passarão a ser rastreados)

6º git status (arquivo adicionado aparecerá em verde)

7º git commit -m "" (para comitar, ideal descrever o que foi feito)

8º git log (mostra o rastreamento e commits feitos)

MASTER é a árvore.

Conectar ao github

1º Criar um repo no github (sem o README aparecerá a lista de comandos que deverão ser realizados)

2º No git bash usado anteriormente, rodar o comando: git remote add origin https...

3º git remote -v

aparecerá fetch (buscar) e push (empurar)

reprograma_backend_09_08_2020's People

Contributors

fabicaneyu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.