GithubHelp home page GithubHelp logo

git-test's Introduction

1 - Criar pasta do projeto
2 - git init criar o repositorio
3 - Adicionar os arquivos
4 - git add . = adiciona todos os arquivos
	  git status = mostra o que ta pendente
   - git add *.php
   - git add nome.txt
5 - git commit -m "Comentario" = Commita somente
   - git commit - a -m "comentario" = Commita e adiciona os arquivos
   - git commit --amend -m "comentario (edicao)" = pega o ultimo commit e adiciona os arquivos que faltaram
6 - git diff = Ve modificações realizadas no diretorio de trabalho
   - git diff --staged = Ve modificações realizadas que já foram adicionadas na stage area
7 - git log = ver os comits que foram feitos
   - git log -p = log em ordem decrescente com paginacao
   - git log -p -1 = por quantidade de comit
   - git log --pretty=online
8 - gitk - abre programa para ver os commit de forma visual
9 - git reset HEAD nome.html = leva o arquivo da stage area para work area.
10 - git rm nome.txt = remove arquivo 
11 - git tag = exibe as tags crias
     - git tag -a codigodocommit -m "Descricao" = definindo uma tag para commit ja realizado
	 - git tag -a v1.0 -m "comentario" = criando uma tag sem vinculacao
	 - git show v.1.0 = ve os dados e o commit vinculado a tag
	 - git tag -d v.0.1 = delete tag
12 - git branch teste = criar branch
	 - git checkout teste = ir para branch teste
	 - git checkout -b teste = cria e ja vai para brach criado
	 - git checkout master = volta para branch master
	 - git branch = lista os branches criados
	 - git -d teste = deleta o brach
13 - git merge teste = junta os branches - estar no branch destino

14 - Github

criar arquivo
.gitignore 
nomes dos arquivos ignorados
index.html

Web starter kit

Atualizar npm
npm install -g npm
 
 ----------------
 
Using Chocolatey:

cinst nodejs
# or for full install with npm
cinst nodejs.install



aaaaaaaaaa

git-test's People

Contributors

lucasmedella avatar

Watchers

 avatar

git-test's Issues

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.