Giter Club home page Giter Club logo

exercism's Introduction

exercism

Para lidar com a conexão no github.

  1. crie a chave publica e a privada com: ssh-keygen -t rsa -b 4096 -C "[email protected]"
  2. copie a chave publica para o github e cadastre no settings
  3. crie um arquivo de nome config no ~/.ssh e coloque:

#[email protected] account for github Host github.com-cirobispo HostName github.com User git IdentityFile ~/.ssh/cirobispo_rsa IdentitiesOnly yes

  1. inicie o ssh-agent com: exec ssh-agent bash
  2. coloque a chave privada na memoria do agent com: ssh-add ~/.ssh/arquivo_chave_privada
  3. teste se a chave está adicionada com: ssh -Tv github.com-cirobispo
  4. crie, no diretorio ~o arquivo .gitconfig e coloque:

[filter "ifs"] [includeIf "gitdir:diretorio/do/projeto/usuarioA/"] path=./.gitconfig-A

[includeIf "gitdir:diretorio/do/projeto/usuarioB/"] path=./.gitconfig-B

[user] name = Ciro Bispo email = [email protected]

[core] sshCommand = ssh.exe

  1. crie, no mesmo local o arquivo gitconfig-A e o gitconfig-B, etc e coloque: [user] name = Ciro email = [email protected]

[core] sshCommand = "ssh -i ~/.ssh/arquivo da chave privada correspondente

exercism's People

Contributors

cirobispo avatar oabispo avatar

Watchers

 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.