This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install zsh | |
zsh --version | |
sudo apt-get install curl | |
sudo add-apt-repository ppa:git-core/ppa ; sudo apt update ; sudo apt-get install git | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1º passo: Crie a chave ssh. | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
2º passo: Copie o conteúdo da chave. | |
cat ~/.ssh/id_rsa.pub | |
3º passo: Adicione a chave ao seu git. | |
Github: Profile > Settings > SSH and GPG keys > New SSH key | |
Gitlab: Profile > Settings > SSH Keys |