Guest User

Untitled

a guest
Jan 9th, 2018
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. git clone git@github.com:brockgr/csshx.git
  2.  
  3. git clone git@server.domain:user/reponame.git
  4.  
  5. git clone https://github.com/brockgr/csshx.git
  6.  
  7. ssh-keygen -t rsa -C "user.name@mail.domain"
  8.  
  9. C:Users%username%.sshid_rsa.pub
  10.  
  11. ~/.ssh/id_rsa.pub
  12.  
  13. Host: server.domain
  14. IdentityFile путь_и_имя_ключа
  15.  
  16. git --version
  17.  
  18. ssh-keygen -t rsa -C "myemail@mail.ru"
  19.  
  20. Generating public/private rsa key pair.
  21. Enter file in which to save the key (/c/Documents and Settings/username/.ssh/id_rsa):
  22. Enter passphrase (empty for no passphrase):
  23. Enter same passphrase again:
  24. Your identification has been saved in /c/Documents and Settings/username/.ssh/id_rsa.
  25. Your public key has been saved in /c/Documents and Settings/username/.ssh/id_rsa.pub.
  26. The key fingerprint is:
  27. 51:db:73:e9:31:9f:51:a6:7a:c5:3d:da:9c:35:8f:95 myemail@mail.ru
  28.  
  29. git config --global user.name "YourFullName"
  30. git config --global user.email myemail@mail.ru
  31.  
  32. git init
  33. git add .
  34. git commit -a -m 'first commit'
  35. git remote add origin git@github.com:username/reponame.git
  36. git push -u origin master
  37.  
  38. git init
  39.  
  40. git config --global user.name
  41. git config --global user.email
  42.  
  43. git clone ssh://username@servername.com/git/folder/here
  44.  
  45. git config --global user.name "John Doe"
  46. git config --global user.email johndoe@example.com
  47.  
  48. user.name и user.email
Add Comment
Please, Sign In to add comment