git -k8凯发

  1. configurando git
    1. git config
      1. --global user.name "wanderson silva"
      2. --global user.email 'wanderson.luiz@gmail.com'
      3. --global color.ui 'auto'
      4. --global push.default simple
    2. git remote add origin https://github.com//.git
    3. criar um arquivo .gitignore compatível com seu projeto
  2. gerenciando versões
    1. repositório local
      1. git init
      2. git add
      3. git commit -m ''
        1. git commit --amend -m "new messages here"
      4. git status
      5. git show
      6. git log
        1. --oneline
          1. --decorate
          2. --all
      7. deletando arquivos
      8. git mv
      9. iniciando seu trabalho
    2. repositório virtual
      1. git remote add origin https://github.com/try-git/try_git.git
      2. git remote add origin https://wandersonluiz@bitbucket.org/wandersonluiz/raciocinio-financeiro-livro.git
      3. git push -u origin master
      4. git remote set-url origin @
      5. crie um arquivo readme.md para explicar do que se trata seu projeto
  3. trabalhando com os outros
    1. git clone
    2. git remote set-url origin
    3. git pull
    4. git fetch
    5. abram o arquivo de conflito
    6. git merge
    7. git diff
      1. --word-diff
      2. <(identificador 1)..(identificador 2)>
      3. --staged
    8. git checkout
      1. head~
        1. --
      2. master
  4. obtendo ajuda
    1. youtube.com/user/github
    2. try.github.io
    3. git help
  5. elementos do git
    1. stage/index
    2. head
      1. é um ponteiro que indica no seu repositório a versão vigente
    3. master
    4. origin
      1. the name of remote repo
    5. workspace
    6. branch
    7. merge
    8. ferramentas úteis
      1. git-gui
      2. guitk
      3. github for windows
网站地图