GithubHelp home page GithubHelp logo

git-cheat-sheet's Introduction

Primeira atividade - Realizando o primeiro commit:

  1. Aprender o básico sobre markdown
  2. Realizar o instruções:
  3. touch arquivo.txt
  4. vim git-commands.txt
  5. git add git-commands.txt
  6. git status
  7. vim README.md
  8. git add README.md
  9. git commit -m "Primeiro commit, arquivo contendo os comandos aprendidos do git"
  10. git push origin master

Segunda atividade - Releases:

  1. git tag 0.1.0
  2. git push origin master --tags
  3. fazer novos commits e criar outra release

Habilitar conexão por ssh (git-bash):

Comando para gerar chave:

ssh-keygen -t rsa -b 4096 -C "email"

Ativando ssh-agent

eval `ssh-agent -s`

Adicionando chave ao ssh-agent:

ssh-add ~/.ssh/id_rsa

Testando conexão com o github:

Se tudo correr bem, agora apenas é necessário adiciona-la ao perfil do github, para copiar a chave para o clipboard:

clip < ~/.ssh/id_rsa.pub

Importante: Lembrar de garantir que a conexão com o repositório remoto esteja sendo feita através do ssh

git remote set-url origin [email protected]:user/repository.git

git-cheat-sheet's People

Contributors

cbcaio avatar

Forkers

ebertbueno

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.