Skip to content

Instantly share code, notes, and snippets.

@jetfire21
Created April 19, 2017 05:57
Show Gist options
  • Save jetfire21/9ef1d7664329a5c34c6dcd82a5ccb574 to your computer and use it in GitHub Desktop.
Save jetfire21/9ef1d7664329a5c34c6dcd82a5ccb574 to your computer and use it in GitHub Desktop.
Git commands
========= делать push без ввода пароля и логина LINUX ================
ls -al ~/.ssh
ssh-keygen -t rsa -b 4096 -C "freerun-2012@yandex.ru"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
# check urls
git remote show origin
Push URL: https://github.com/jetfire21/bp-group-calendar.git
# изменить url
git remote set-url origin git+ssh://git@github.com/jetfire21/bp-group-calendar.git
========= делать push без ввода пароля и логина ================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment