You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate SSH keypair and put public key to your Github account (instructions) Note: don't hassle with xclip, just open file in text editor and copy contents to clipboard!
Note: don't mistake <orgname> for your account name!
To look for current remote setting:
user:git$ git remote show origin
* remote origin
Fetch URL: git@github.com:learn-it/git.git
Push URL: git@github.com:learn-it/git.git
HEAD branch: master
Remote branch:
master tracked
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master (up to date)
Note: don't hassle with
xclip
, just open file in text editor and copy contents to clipboard!To fix existing local Git repository to use SSH proto:
git remote set-url origin git@github.com:<orgname>/<repo>.git
Note: don't mistake
<orgname>
for your account name!To look for current remote setting:
More info...
The text was updated successfully, but these errors were encountered: