Created
February 13, 2021 19:24
-
-
Save luizomf/3b403214f000931af9f4de72ea967b1e to your computer and use it in GitHub Desktop.
Revisions
-
luizomf created this gist
Feb 13, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ # Criar chaves ssh ssh-keygen -t rsa -f "/c/Users/seu-usuario/.ssh/nome-chave" -C '[email protected]' # Quando fechar o terminal preciso executar isso eval "$(ssh-agent -s)" ssh-add /c/Users/seu-usuario/.ssh/nome-chave # Iniciando o git git init git config --global user.name "SEU NOME" git config --global user.email "[email protected]" git remote add origin [email protected]:CAMINHO-COPIADO-DO-GITHUB-SSH # Editei git add . git commit -m 'MENSAGEM' git push origin master