Skip to content

Instantly share code, notes, and snippets.

@afonsoaugusto
Last active November 19, 2018 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afonsoaugusto/d9b0efec13933bf09b0bb20160ac40b5 to your computer and use it in GitHub Desktop.
Save afonsoaugusto/d9b0efec13933bf09b0bb20160ac40b5 to your computer and use it in GitHub Desktop.
git config --global user.email "afonsoaugustoventura@gmail.com"
git config --global user.name "Afonso Rodrigues"
git config --global push.default simple
git remote set-url origin git@github.com:afonsoaugusto/report_system_bot.git
ssh-keygen -t rsa -b 4096 -C "afonsoaugustoventura@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa
sudo apt-get install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
git checkout master
git fetch
git rebase origin/master
git push origin master:master
git config --list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment