Advertisement
Guest User

Belajar Git

a guest
Jan 12th, 2016
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.52 KB | None | 0 0
  1.  
  2. Elliot@elliot-fsociety MINGW64 ~
  3. $ cd
  4.  
  5. Elliot@elliot-fsociety MINGW64 ~
  6. $ ;s
  7. bash: syntax error near unexpected token `;'
  8.  
  9. Elliot@elliot-fsociety MINGW64 ~
  10. $ ls
  11. AppData/
  12. Application Data@
  13. Contacts/
  14. Cookies@
  15. Desktop/
  16. Documents/
  17. Downloads/
  18. Favorites/
  19. Links/
  20. Local Settings@
  21. Music/
  22. My Documents@
  23. NetHood@
  24. NTUSER.DAT
  25. ntuser.dat.LOG1
  26. ntuser.dat.LOG2
  27. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
  28. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001 .regtrans-ms
  29. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002 .regtrans-ms
  30. ntuser.ini
  31. Pictures/
  32. PrintHood@
  33. Recent@
  34. Saved Games/
  35. Searches/
  36. SendTo@
  37. Start Menu@
  38. Templates@
  39. Videos/
  40.  
  41. Elliot@elliot-fsociety MINGW64 ~
  42. $ cd /
  43.  
  44. Elliot@elliot-fsociety MINGW64 /
  45. $ ls
  46. bin/ etc/ LICENSE.txt ReleaseNotes.html unins000.exe*
  47. cmd/ git-bash.exe* mingw64/ tmp/ usr/
  48. dev/ git-cmd.exe* proc/ unins000.dat
  49.  
  50. Elliot@elliot-fsociety MINGW64 /
  51. $ cd
  52.  
  53. Elliot@elliot-fsociety MINGW64 ~
  54. $ ls
  55. AppData/
  56. Application Data@
  57. Contacts/
  58. Cookies@
  59. Desktop/
  60. Documents/
  61. Downloads/
  62. Favorites/
  63. Links/
  64. Local Settings@
  65. Music/
  66. My Documents@
  67. NetHood@
  68. NTUSER.DAT
  69. ntuser.dat.LOG1
  70. ntuser.dat.LOG2
  71. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
  72. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001 .regtrans-ms
  73. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002 .regtrans-ms
  74. ntuser.ini
  75. Pictures/
  76. PrintHood@
  77. Recent@
  78. Saved Games/
  79. Searches/
  80. SendTo@
  81. Start Menu@
  82. Templates@
  83. Videos/
  84.  
  85. Elliot@elliot-fsociety MINGW64 ~
  86. $ cd /
  87. c
  88. Elliot@elliot-fsociety MINGW64 /
  89. $ cd c:
  90.  
  91. Elliot@elliot-fsociety MINGW64 /c
  92. $ ls
  93. $Recycle.Bin/ pagefile.sys Recovery/
  94. [Smad-Cage]/ PerfLogs/ Ruby193/
  95. asc_rdflag PhotoshopPortable/ SkinPack/
  96. Documents and Settings@ Program Files/ System Volume Information/
  97. hiberfil.sys Program Files (x86)/ Users/
  98. Intel/ ProgramData/ W7P_Backups/
  99. MSOCache/ Python27/ Windows/
  100.  
  101. Elliot@elliot-fsociety MINGW64 /c
  102. $ cd Users/Elliot
  103.  
  104. Elliot@elliot-fsociety MINGW64 ~
  105. $ ls
  106. AppData/
  107. Application Data@
  108. Contacts/
  109. Cookies@
  110. Desktop/
  111. Documents/
  112. Downloads/
  113. Favorites/
  114. Links/
  115. Local Settings@
  116. Music/
  117. My Documents@
  118. NetHood@
  119. NTUSER.DAT
  120. ntuser.dat.LOG1
  121. ntuser.dat.LOG2
  122. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
  123. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001 .regtrans-ms
  124. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002 .regtrans-ms
  125. ntuser.ini
  126. Pictures/
  127. PrintHood@
  128. Recent@
  129. Saved Games/
  130. Searches/
  131. SendTo@
  132. Start Menu@
  133. Templates@
  134. Videos/
  135.  
  136. Elliot@elliot-fsociety MINGW64 ~
  137. $ cd .ssh
  138.  
  139. Elliot@elliot-fsociety MINGW64 ~/.ssh
  140. $ cd ..
  141.  
  142. Elliot@elliot-fsociety MINGW64 ~
  143. $ dir
  144. AppData
  145. Application\ Data
  146. Contacts
  147. Cookies
  148. Desktop
  149. Documents
  150. Downloads
  151. Favorites
  152. Links
  153. Local\ Settings
  154. Music
  155. My\ Documents
  156. NetHood
  157. NTUSER.DAT
  158. ntuser.dat.LOG1
  159. ntuser.dat.LOG2
  160. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
  161. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001 .regtrans-ms
  162. NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002 .regtrans-ms
  163. ntuser.ini
  164. Pictures
  165. PrintHood
  166. Recent
  167. Saved\ Games
  168. Searches
  169. SendTo
  170. Start\ Menu
  171. Templates
  172. Videos
  173.  
  174. Elliot@elliot-fsociety MINGW64 ~
  175. $ cd .ssh
  176.  
  177. Elliot@elliot-fsociety MINGW64 ~/.ssh
  178. $ ls
  179. config id_rsa id_rsa.pub
  180.  
  181. Elliot@elliot-fsociety MINGW64 ~/.ssh
  182. $ ssh -T git@gitlab.com
  183. The authenticity of host 'gitlab.com (104.210.2.228)' can't be established.
  184. ECDSA key fingerprint is SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw.
  185. Are you sure you want to continue connecting (yes/no)? yes
  186. Warning: Permanently added 'gitlab.com,104.210.2.228' (ECDSA) to the list of kno wn hosts.
  187. Enter passphrase for key '/c/Users/Elliot/.ssh/id_rsa.pub':
  188. Enter passphrase for key '/c/Users/Elliot/.ssh/id_rsa.pub':
  189. Enter passphrase for key '/c/Users/Elliot/.ssh/id_rsa.pub':
  190. Permission denied (publickey).
  191.  
  192. Elliot@elliot-fsociety MINGW64 ~/.ssh
  193. $ ssh -T git@gitlab.com
  194. ssh_exchange_identification: read: Connection reset by peer
  195.  
  196. Elliot@elliot-fsociety MINGW64 ~/.ssh
  197. $ ssh -T git@gitlab.com
  198. Enter passphrase for key '/c/Users/Elliot/.ssh/id_rsa.pub':
  199. Enter passphrase for key '/c/Users/Elliot/.ssh/id_rsa.pub':
  200. Enter passphrase for key '/c/Users/Elliot/.ssh/id_rsa.pub':
  201. Permission denied (publickey).
  202.  
  203. Elliot@elliot-fsociety MINGW64 ~/.ssh
  204. $ cat ~/.ssh/id_rsa.pub
  205. ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/d0E00D30+B4s5CBnB2vNonP4rYJYLTBNOHJdS769 dA5SFfRGiFYJ+KcPfFicnB/ssV5UzE5nAgtDXpnciLzXBe25BFTAzwyQIwjPOsZvHMoobYZ1XDjmtchv GDaiWK5j4PeSfT4/R8IDCk7mgxHBpWG/h9p+AeMjWZ0kln7qdtb014Qqr5VI1SUpA0W+cwS8HJ2tJEU1 ob0/010ZIcJjP37omPZBArQYVnMh4cHm8ZUo4oRonaKcyjeqxy122ZTgR3ueU16xuKNmftatyqPEc5lE gXmBTOqi/OqanRa42vYU5Kiu+AZXEBljZ/h+0DMK0Nqo5ll46iHEy2x+IJz3 de.voresyah@gmail.c om
  206.  
  207. Elliot@elliot-fsociety MINGW64 ~/.ssh
  208. $ cd ..
  209.  
  210. Elliot@elliot-fsociety MINGW64 ~
  211. $ rmdir .ssh
  212. rmdir: failed to remove ‘.ssh’: Directory not empty
  213.  
  214. Elliot@elliot-fsociety MINGW64 ~
  215. $ rmdir -S .ssh
  216. rmdir: unknown option -- S
  217. Try 'rmdir --help' for more information.
  218.  
  219. Elliot@elliot-fsociety MINGW64 ~
  220. $ rmdir --help
  221. Usage: rmdir [OPTION]... DIRECTORY...
  222. Remove the DIRECTORY(ies), if they are empty.
  223.  
  224. --ignore-fail-on-non-empty
  225. ignore each failure that is solely because a directory
  226. is non-empty
  227. -p, --parents remove DIRECTORY and its ancestors; e.g., 'rmdir -p a/b/c' is
  228. similar to 'rmdir a/b/c a/b a'
  229. -v, --verbose output a diagnostic for every directory processed
  230. --help display this help and exit
  231. --version output version information and exit
  232.  
  233. GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
  234. Full documentation at: <http://www.gnu.org/software/coreutils/rmdir>
  235. or available locally via: info '(coreutils) rmdir invocation'
  236.  
  237. Elliot@elliot-fsociety MINGW64 ~
  238. $ rmdir -p ~/.ssh/
  239. rmdir: failed to remove ‘/c/Users/Elliot/.ssh/’: Directory not empty
  240.  
  241. Elliot@elliot-fsociety MINGW64 ~
  242. $ del --help
  243. bash: del: command not found
  244.  
  245. Elliot@elliot-fsociety MINGW64 ~
  246. $ rm -r .ssh
  247.  
  248. Elliot@elliot-fsociety MINGW64 ~
  249. $ cd .ssh
  250. bash: cd: .ssh: No such file or directory
  251.  
  252. Elliot@elliot-fsociety MINGW64 ~
  253. $ ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  254. Generating public/private rsa key pair.
  255. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa):
  256. Created directory '/c/Users/Elliot/.ssh'.
  257. Enter passphrase (empty for no passphrase):
  258. Enter same passphrase again:
  259. Your identification has been saved in /c/Users/Elliot/.ssh/id_rsa.
  260. Your public key has been saved in /c/Users/Elliot/.ssh/id_rsa.pub.
  261. The key fingerprint is:
  262. SHA256:g4VwderGNclQhMC/nYs9ju85V1moZbdCsr7stH2pMc4 de.voresyah@gmail.com
  263. The key's randomart image is:
  264. +---[RSA 2048]----+
  265. | ..ooo++ |
  266. | o...= . |
  267. | ..o = . |
  268. | =.. o .+ o|
  269. | . So .++ +.|
  270. | ...o...o. |
  271. | o.o +. .|
  272. | ..Bo* oo |
  273. | .+*O.Eo |
  274. +----[SHA256]-----+
  275.  
  276. Elliot@elliot-fsociety MINGW64 ~
  277. $ clip < ~/.ssh/id_rsa.pub
  278.  
  279. Elliot@elliot-fsociety MINGW64 ~
  280. $ ssh -T git@gitlab.com
  281. The authenticity of host 'gitlab.com (104.210.2.228)' can't be established.
  282. ECDSA key fingerprint is SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw.
  283. Are you sure you want to continue connecting (yes/no)? yes
  284. Warning: Permanently added 'gitlab.com,104.210.2.228' (ECDSA) to the list of kno wn hosts.
  285. Enter passphrase for key '/c/Users/Elliot/.ssh/id_rsa':
  286. Welcome to GitLab, DeVoresyah ArEst!
  287.  
  288. Elliot@elliot-fsociety MINGW64 ~
  289. $ clip < ~/.ssh/id_rsa.pub
  290.  
  291. Elliot@elliot-fsociety MINGW64 ~
  292. $ ~/.gitconfig
  293. /c/Users/Elliot/.gitconfig: line 1: [user]: command not found
  294. /c/Users/Elliot/.gitconfig: line 2: name: command not found
  295. /c/Users/Elliot/.gitconfig: line 3: email: command not found
  296.  
  297. Elliot@elliot-fsociety MINGW64 ~
  298. $ ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  299. Generating public/private rsa key pair.
  300. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa): github
  301. Enter passphrase (empty for no passphrase):
  302. Enter same passphrase again:
  303. Your identification has been saved in github.
  304. Your public key has been saved in github.pub.
  305. The key fingerprint is:
  306. SHA256:aGvEVSH4v82IyfPfzIxKeO7Pt2mauJWemphOI158LQI de.voresyah@gmail.com
  307. The key's randomart image is:
  308. +---[RSA 2048]----+
  309. | .. o. |
  310. | . o |
  311. | .. |
  312. | . o. |
  313. | E S. |
  314. | o + ... . |
  315. | +.Bo==+ |
  316. | o +=XoBoOo. |
  317. | ..++X*X+B. |
  318. +----[SHA256]-----+
  319.  
  320. Elliot@elliot-fsociety MINGW64 ~
  321. $ cat ~/.ssh/id_rsa.pub
  322. ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfqSYYspIV9gHhvF1TohBww5RkwmYHqCF/p0jKOiHL G+SrRpEJBV1ztF7JYgb/XY4VXKTbHLI/fbigODSAbBxVFZ5vqd9WuetwJgvsV1ynuNqJYo1YasyFCPsl RPb0S5iWf402WKV0SVlokUNs+GbWhd+g8WFufpKER7ZO8kmRDm6ijZjHUpO+IiVILCTBO9YbhY7pgCof UOHZvD2XXzDOYmNgV2uXxqaUQTEPXN12YXn2VI4JXHZ1WW+ya5NazfTtwUOkgnXVpBuFbGEmsLyIf2h/ KdO/T7UK9F56d9XCaRsn67cViuHhKfgv27QE9WyCOZRYJOSw6xJx701P+7Tn de.voresyah@gmail.c om
  323.  
  324. Elliot@elliot-fsociety MINGW64 ~
  325. $ ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  326. Generating public/private rsa key pair.
  327. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa): github
  328. github already exists.
  329. Overwrite (y/n)? y
  330. Enter passphrase (empty for no passphrase):
  331. Enter same passphrase again:
  332. Your identification has been saved in github.
  333. Your public key has been saved in github.pub.
  334. The key fingerprint is:
  335. SHA256:MxyfK0WnuHxpLgub6chQSf4CAjqs/HtxxNyLjUfT2Wc de.voresyah@gmail.com
  336. The key's randomart image is:
  337. +---[RSA 4096]----+
  338. | |
  339. | |
  340. |. . o o o + |
  341. |+ o . = O * . E |
  342. |+.. + . S B o |
  343. |oo o o = O o |
  344. |... . = = = |
  345. | .o + =.= |
  346. | o=.= .o. |
  347. +----[SHA256]-----+
  348.  
  349. Elliot@elliot-fsociety MINGW64 ~
  350. $ ssh-keygen -t rsa -C "de.voresyah@github.com"
  351. Generating public/private rsa key pair.
  352. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa):
  353. Created directory '/c/Users/Elliot/.ssh'.
  354. Enter passphrase (empty for no passphrase):
  355. Enter same passphrase again:
  356. Your identification has been saved in /c/Users/Elliot/.ssh/id_rsa.
  357. Your public key has been saved in /c/Users/Elliot/.ssh/id_rsa.pub.
  358. The key fingerprint is:
  359. SHA256:7mURZ0pni8q1j6B15w75JYTemkDwb0WDv6pg8x0JIqI de.voresyah@github.com
  360. The key's randomart image is:
  361. +---[RSA 2048]----+
  362. | |
  363. | . |
  364. | . + B |
  365. | o . % o |
  366. | . . . S * = |
  367. | . . . = * O . |
  368. |E + B & = . |
  369. | . B O % o |
  370. | . +.*.= |
  371. +----[SHA256]-----+
  372.  
  373. Elliot@elliot-fsociety MINGW64 ~
  374. $ ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  375. Generating public/private rsa key pair.
  376. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa): github
  377. Enter passphrase (empty for no passphrase):
  378. Enter same passphrase again:
  379. Your identification has been saved in github.
  380. Your public key has been saved in github.pub.
  381. The key fingerprint is:
  382. SHA256:51d2W5Ar5aYy6GhxOgUlJKOsYnE9vVrsRyPo2YOyRi8 de.voresyah@gmail.com
  383. The key's randomart image is:
  384. +---[RSA 2048]----+
  385. | o.. |
  386. | . ..oo . . |
  387. | .o. o + + |
  388. | .o = . o o |
  389. |o. . *So. . * o|
  390. |o .. O =+. * .o|
  391. | ...= O..+ o . |
  392. | Eo.+oo + |
  393. | ....... |
  394. +----[SHA256]-----+
  395.  
  396. Elliot@elliot-fsociety MINGW64 ~
  397. $ ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  398. Generating public/private rsa key pair.
  399. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa): github
  400. Enter passphrase (empty for no passphrase):
  401. Enter same passphrase again:
  402. Your identification has been saved in github.
  403. Your public key has been saved in github.pub.
  404. The key fingerprint is:
  405. SHA256:ijr3Cw6x5Qd7Mx2Wk9Yh3pwzLhTO0nj/3HqABVl+KeM de.voresyah@gmail.com
  406. The key's randomart image is:
  407. +---[RSA 4096]----+
  408. | o. |
  409. | o. . |
  410. | o ..+ o |
  411. | * O +.+ |
  412. | . o o S BoE |
  413. | = + O =.o. |
  414. | o = * o o . |
  415. | .+.+ o . o .. |
  416. | .o..o. +o. |
  417. +----[SHA256]-----+
  418.  
  419. Elliot@elliot-fsociety MINGW64 ~
  420. $ ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  421. Generating public/private rsa key pair.
  422. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa): gitlab
  423. Enter passphrase (empty for no passphrase):
  424. Enter same passphrase again:
  425. Your identification has been saved in gitlab.
  426. Your public key has been saved in gitlab.pub.
  427. The key fingerprint is:
  428. SHA256:6Q8CPxgJO5JHYpDyrK+PuziW5dlegrIpU+QJC/yc0fE de.voresyah@gmail.com
  429. The key's randomart image is:
  430. +---[RSA 2048]----+
  431. |.. |
  432. |+ . |
  433. |++o . o |
  434. |+=++ o E . |
  435. |+**.* S |
  436. |oo+*.= . |
  437. | ++.+.+.o |
  438. |=+=o .oo o |
  439. |OX. .. . |
  440. +----[SHA256]-----+
  441.  
  442. Elliot@elliot-fsociety MINGW64 ~
  443. $ cat ~/.ssh/github.pub
  444. ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQD1LgQCnQrHzXSCGysTq81I/7QYpBDgvdb2fu3EU82H V1tKrhmLFDoFURZhKtgtojHrDIUQdEJFsML5W8xRt755SN4rdyFUEbqfXGltAN5cBnHLbKuB9ll/rWlA 27cPj3hIt9ptWUIWT/4Tq38jjaZo96pzdYLnNdLbtirQLEwlXZQbWNx+DxG4bHl8us7kxNnni8R2yUsg 8V1Ef5WVg5546cDU7IOcYWPp8qiT3IaCUAxnxHClYRUR6la5VCGx0hnip8wJRLZkZ6y6IYJSg2M8mDV8 6FJa0Hp+VD3/b+hlz+Xsi8X52aHxwNI2B318ldxxY+ozNrL70pK931UofXyRiaX0Rpc/bVucVBqVy1l8 KLWGa+Fp9QqCWsyKzWppU8HjPWPQ/rchaoe/v9fndvO+w/K8oHMKhmT+ZooogzMHVtqVwtoW5Rh1AQ/w oeM2wBB8vwTWzukl+DqD7XCy4e27wLScVJZXkQb03YMGTXuPe6J4uMvLBzQzS9tyJb23hAxswKztYlPT VRhKrMMCPRzr9EaQq2Mxz1u6nRISqUqubnw1dakapD29/Gsn1x3nVSTn2/tgbIinqxRKAyH/mjCE6Ea5 euN5t9DCIrV/Fj3gkenoZgsFnedZdlDLhCq3b2q1bIYX3tYvt4U3Kj6rB+dm9WsBXJSKTs8cPiCR6LIg 4w== de.voresyah@gmail.com
  445.  
  446. Elliot@elliot-fsociety MINGW64 ~
  447. $ clip < ~/.ssh/github.pub
  448.  
  449. Elliot@elliot-fsociety MINGW64 ~
  450. $ clip < ~/.ssh/gitlab.pub
  451.  
  452. Elliot@elliot-fsociety MINGW64 ~
  453. $ ssh-add ~/.ssh/github
  454. Could not open a connection to your authentication agent.
  455.  
  456. Elliot@elliot-fsociety MINGW64 ~
  457. $ ssh-add ~/.ssh/gitlab
  458. Could not open a connection to your authentication agent.
  459.  
  460. Elliot@elliot-fsociety MINGW64 ~
  461. $ eval `ssh-agent -s`
  462. Agent pid 8104
  463.  
  464. Elliot@elliot-fsociety MINGW64 ~
  465. $ ssh-add ~/.ssh/github
  466. Enter passphrase for /c/Users/Elliot/.ssh/github:
  467. Identity added: /c/Users/Elliot/.ssh/github (/c/Users/Elliot/.ssh/github)
  468.  
  469. Elliot@elliot-fsociety MINGW64 ~
  470. $ ssh -T git@github.com
  471. The authenticity of host 'github.com (192.30.252.128)' can't be established.
  472. RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
  473. Are you sure you want to continue connecting (yes/no)? yes
  474. Warning: Permanently added 'github.com,192.30.252.128' (RSA) to the list of know n hosts.
  475. Hi DeVoresyah! You've successfully authenticated, but GitHub does not provide sh ell access.
  476.  
  477. Elliot@elliot-fsociety MINGW64 ~
  478. $ ssh-add ~/.ssh/gitlab
  479. Enter passphrase for /c/Users/Elliot/.ssh/gitlab:
  480. Identity added: /c/Users/Elliot/.ssh/gitlab (/c/Users/Elliot/.ssh/gitlab)
  481.  
  482. Elliot@elliot-fsociety MINGW64 ~
  483. $ ssh -T git@gitlab
  484. ssh: Could not resolve hostname gitlab: Name or service not known
  485.  
  486. Elliot@elliot-fsociety MINGW64 ~
  487. $ ssh -T git@gitlab.com
  488. The authenticity of host 'gitlab.com (104.210.2.228)' can't be established.
  489. ECDSA key fingerprint is SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw.
  490. Are you sure you want to continue connecting (yes/no)? yes
  491. Warning: Permanently added 'gitlab.com,104.210.2.228' (ECDSA) to the list of kno wn hosts.
  492. Welcome to GitLab, DeVoresyah ArEst!
  493.  
  494. Elliot@elliot-fsociety MINGW64 ~
  495. $ ssh --help
  496. ssh: unknown option -- -
  497. usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
  498. [-D [bind_address:]port] [-E log_file] [-e escape_char]
  499. [-F configfile] [-I pkcs11] [-i identity_file]
  500. [-L address] [-l login_name] [-m mac_spec]
  501. [-O ctl_cmd] [-o option] [-p port]
  502. [-Q cipher | cipher-auth | mac | kex | key]
  503. [-R address] [-S ctl_path] [-W host:port]
  504. [-w local_tun[:remote_tun]] [user@]hostname [command]
  505.  
  506. Elliot@elliot-fsociety MINGW64 ~
  507. $ ssh-i
  508. bash: ssh-i: command not found
  509.  
  510. Elliot@elliot-fsociety MINGW64 ~
  511. $ ssh -T git@github.com
  512. Warning: Permanently added the RSA host key for IP address '192.30.252.130' to t he list of known hosts.
  513. Hi DeVoresyah! You've successfully authenticated, but GitHub does not provide sh ell access.
  514.  
  515. Elliot@elliot-fsociety MINGW64 ~
  516. $
  517.  
  518. Elliot@elliot-fsociety MINGW64 ~
  519. $ pwd
  520. /c/Users/Elliot
  521.  
  522. Elliot@elliot-fsociety MINGW64 ~
  523. $ cat ~/.gitconfig
  524. cat: /c/Users/Elliot/.gitconfig: No such file or directory
  525.  
  526. Elliot@elliot-fsociety MINGW64 ~
  527. $ git config --global user.email "de.voresyah@gmail.com"
  528.  
  529. Elliot@elliot-fsociety MINGW64 ~
  530. $ git config --global user.name "DeVoresyah"
  531.  
  532. Elliot@elliot-fsociety MINGW64 ~
  533. $ cat ~/.gitconfig
  534. [user]
  535. email = de.voresyah@gmail.com
  536. name = DeVoresyah
  537.  
  538. Elliot@elliot-fsociety MINGW64 ~
  539. $ ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  540. Generating public/private rsa key pair.
  541. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa): github
  542. Enter passphrase (empty for no passphrase):
  543. Enter same passphrase again:
  544. Your identification has been saved in github.
  545. Your public key has been saved in github.pub.
  546. The key fingerprint is:
  547. SHA256:YMgt7rrDVdFcmHSKRWpmvGim+Q39A/1Fk3pSeYxbINw de.voresyah@gmail.com
  548. The key's randomart image is:
  549. +---[RSA 4096]----+
  550. | =+=o. |
  551. | . +.+=oo E |
  552. | + @.. . * |
  553. | . B.o B + |
  554. | =...S + = |
  555. | *... . o + |
  556. | .o.o .. . + |
  557. | oo o .. . |
  558. | oo. . .. |
  559. +----[SHA256]-----+
  560.  
  561. Elliot@elliot-fsociety MINGW64 ~
  562. $ ssh-agent -s
  563. SSH_AUTH_SOCK=/tmp/ssh-KHMJJEeKck7T/agent.5568; export SSH_AUTH_SOCK;
  564. SSH_AGENT_PID=9940; export SSH_AGENT_PID;
  565. echo Agent pid 9940;
  566.  
  567. Elliot@elliot-fsociety MINGW64 ~
  568. $ eval $(ssh-agent -s)
  569. Agent pid 10148
  570.  
  571. Elliot@elliot-fsociety MINGW64 ~
  572. $ ssh-add ~/.ssh/github
  573. /c/Users/Elliot/.ssh/github: No such file or directory
  574.  
  575. Elliot@elliot-fsociety MINGW64 ~
  576. $ whoami
  577. Elliot
  578.  
  579. Elliot@elliot-fsociety MINGW64 ~
  580. $ ssh-add ~/.ssh/github
  581. Enter passphrase for /c/Users/Elliot/.ssh/github:
  582. Identity added: /c/Users/Elliot/.ssh/github (/c/Users/Elliot/.ssh/github)
  583.  
  584. Elliot@elliot-fsociety MINGW64 ~
  585. $ ssh -T git@github.com
  586. Hi DeVoresyah! You've successfully authenticated, but GitHub does not provide shell access.
  587.  
  588. Elliot@elliot-fsociety MINGW64 ~
  589. $ ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  590. Generating public/private rsa key pair.
  591. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa): /c/Users/Elliot/.ssh/gitlab
  592. Enter passphrase (empty for no passphrase):
  593. Enter same passphrase again:
  594. Your identification has been saved in /c/Users/Elliot/.ssh/gitlab.
  595. Your public key has been saved in /c/Users/Elliot/.ssh/gitlab.pub.
  596. The key fingerprint is:
  597. SHA256:c6C18ZNp8X8JWfCD76sJ2Qwzug3p3Xipj6onHj5odjc de.voresyah@gmail.com
  598. The key's randomart image is:
  599. +---[RSA 4096]----+
  600. | . |
  601. | + |
  602. | + . . + |
  603. | o = = + .|
  604. | . S B+.o . |
  605. | +o.B.o .|
  606. | .. + o ooo.|
  607. | +.+oE= =o...|
  608. | o o+*+o*+=.. |
  609. +----[SHA256]-----+
  610.  
  611. Elliot@elliot-fsociety MINGW64 ~
  612. $ ssh-agent -s
  613. SSH_AUTH_SOCK=/tmp/ssh-b2NfdCyEsFXP/agent.9576; export SSH_AUTH_SOCK;
  614. SSH_AGENT_PID=6868; export SSH_AGENT_PID;
  615. echo Agent pid 6868;
  616.  
  617. Elliot@elliot-fsociety MINGW64 ~
  618. $ eval $(ssh-agent -s)
  619. Agent pid 4152
  620.  
  621. Elliot@elliot-fsociety MINGW64 ~
  622. $ ssh-add ~/.ssh/gitlab
  623. Enter passphrase for /c/Users/Elliot/.ssh/gitlab:
  624. Identity added: /c/Users/Elliot/.ssh/gitlab (/c/Users/Elliot/.ssh/gitlab)
  625.  
  626. Elliot@elliot-fsociety MINGW64 ~
  627. $ ssh -T git@gitlab.com
  628. /c/Users/Elliot/.ssh/config: line 1: Bad configuration option: identity
  629. /c/Users/Elliot/.ssh/config: terminating, 1 bad configuration options
  630.  
  631. Elliot@elliot-fsociety MINGW64 ~
  632. $ ssh -T git@gitlab.com
  633.  
  634.  
  635. Elliot@elliot-fsociety MINGW64 ~
  636. $ ssh -T git@gitlab.com
  637.  
  638.  
  639. Elliot@elliot-fsociety MINGW64 ~
  640. $ ssh -T git@github.com
  641. Enter passphrase for key '/c/Users/Elliot/.ssh/github.pub':
  642. Enter passphrase for key '/c/Users/Elliot/.ssh/github.pub':
  643. Enter passphrase for key '/c/Users/Elliot/.ssh/github.pub':
  644. Permission denied (publickey).
  645.  
  646. Elliot@elliot-fsociety MINGW64 ~
  647. $ #salah, bener,, tadi phas github sama gitlab sama gk, beda, samain aja napa bikin bingung sendiri,, kirain gk bisa sama,, bisa sama, tapi km salah tuh
  648.  
  649. Elliot@elliot-fsociety MINGW64 ~
  650. $ ssh -T git@github.coms
  651. s
  652.  
  653. Elliot@elliot-fsociety MINGW64 ~
  654. $ ssh -T git@github.com
  655. Enter passphrase for key '/c/Users/Elliot/.ssh/github.pub':
  656. Enter passphrase for key '/c/Users/Elliot/.ssh/github.pub':
  657. Enter passphrase for key '/c/Users/Elliot/.ssh/github.pub':
  658. Permission denied (publickey).
  659.  
  660. Elliot@elliot-fsociety MINGW64 ~
  661. $ ssh -T git@gitlab.com
  662. Welcome to GitLab, DeVoresyah ArEst!
  663.  
  664. Elliot@elliot-fsociety MINGW64 ~
  665. $ ssh -T git@github.com
  666. Warning: Permanently added the RSA host key for IP address '192.30.252.129' to the list of known hosts.
  667. Enter passphrase for key '/c/Users/Elliot/.ssh/github.pub':
  668. Enter passphrase for key '/c/Users/Elliot/.ssh/github.pub':
  669.  
  670.  
  671. Elliot@elliot-fsociety MINGW64 ~
  672. $ ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com
  673. > ^C
  674.  
  675. Elliot@elliot-fsociety MINGW64 ~
  676. $ ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  677. Generating public/private rsa key pair.
  678. Enter file in which to save the key (/c/Users/Elliot/.ssh/id_rsa): /c/Users/Elliot/.ssh/github
  679. Enter passphrase (empty for no passphrase):
  680. Enter same passphrase again:
  681. Your identification has been saved in /c/Users/Elliot/.ssh/github.
  682. Your public key has been saved in /c/Users/Elliot/.ssh/github.pub.
  683. The key fingerprint is:
  684. SHA256:UlAfuGNkT4tq/P7Jv5oI80WvVCvAPUt/8OkXsHjpOew de.voresyah@gmail.com
  685. The key's randomart image is:
  686. +---[RSA 4096]----+
  687. | ..... |
  688. | .+... |
  689. | o.=.. |
  690. | o=.o . |
  691. | ..oS.= + + |
  692. | +. + B B o |
  693. | .o. = B = .|
  694. | +.= = B .|
  695. | .+.Bo+Eo. |
  696. +----[SHA256]-----+
  697.  
  698. Elliot@elliot-fsociety MINGW64 ~
  699. $ git-add ~/.ssh/github
  700. bash: git-add: command not found
  701.  
  702. Elliot@elliot-fsociety MINGW64 ~
  703. $ ssh-add ~/.ssh/github
  704. Enter passphrase for /c/Users/Elliot/.ssh/github:
  705. Identity added: /c/Users/Elliot/.ssh/github (/c/Users/Elliot/.ssh/github)
  706.  
  707. Elliot@elliot-fsociety MINGW64 ~
  708. $ clip < ~/.ssh/github.pub
  709.  
  710. Elliot@elliot-fsociety MINGW64 ~
  711. $ ssh -T git@github.com
  712. Hi DeVoresyah! You've successfully authenticated, but GitHub does not provide shell access.
  713.  
  714. Elliot@elliot-fsociety MINGW64 ~
  715. $ #udah, saya ada pertanyaan man
  716.  
  717. Elliot@elliot-fsociety MINGW64 ~
  718. $ sed -i 's/github/gitlab/g' ~/.ssh/config
  719.  
  720. Elliot@elliot-fsociety MINGW64 ~
  721. $ mkdir repo
  722.  
  723. Elliot@elliot-fsociety MINGW64 ~
  724. $ cd repo
  725.  
  726. Elliot@elliot-fsociety MINGW64 ~/repo
  727. $ echo # test >> README.md
  728.  
  729.  
  730. Elliot@elliot-fsociety MINGW64 ~/repo
  731. $ git init
  732. Initialized empty Git repository in C:/Users/Elliot/repo/.git/
  733.  
  734. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  735. $ git add README.md
  736. fatal: pathspec 'README.md' did not match any files
  737.  
  738. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  739. $ git commit -m "first commit"
  740. On branch master
  741.  
  742. Initial commit
  743.  
  744. nothing to commit
  745.  
  746. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  747. $ git remote add origin https://github.com/DeVoresyah/test.git
  748.  
  749. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  750. $ git push -u origin master
  751. error: src refspec master does not match any.
  752. error: failed to push some refs to 'https://github.com/DeVoresyah/test.git'
  753.  
  754. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  755. $ ls
  756.  
  757. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  758. $ touch README.md
  759.  
  760. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  761. $ git add README.md
  762. git remote add origin https://github.com/DeVoresyah/test.git
  763. git push -u origin master
  764. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  765. $ git commit -m "first commit"
  766. [master (root-commit) 0842e0f] first commit
  767. 1 file changed, 0 insertions(+), 0 deletions(-)
  768. create mode 100644 README.md
  769.  
  770. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  771. $ git remote add origin https://github.com/DeVoresyah/test.git
  772. fatal: remote origin already exists.
  773.  
  774. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  775. $ git push -u origin master
  776.  
  777.  
  778. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  779. $ git remote add origin git@gitlab.com:DeVoresyah/test.git
  780. fatal: remote origin already exists.
  781.  
  782. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  783. $ git remote add gitlab git@gitlab.com:DeVoresyah/test.git
  784.  
  785. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  786. $ ssh -T git@gitlab.com
  787. Welcome to GitLab, DeVoresyah ArEst!
  788.  
  789. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  790. $ git push -u gitlab master
  791. Counting objects: 3, done.
  792. Writing objects: 100% (3/3), 213 bytes | 0 bytes/s, done.
  793. Total 3 (delta 0), reused 0 (delta 0)
  794. To git@gitlab.com:DeVoresyah/test.git
  795. * [new branch] master -> master
  796. Branch master set up to track remote branch master from gitlab.
  797.  
  798. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  799. $ git remote ranme origin github
  800. error: Unknown subcommand: ranme
  801. usage: git remote [-v | --verbose]
  802. or: git remote add [-t <branch>] [-m <master>] [-f] [--tags | --no-tags] [--mirror=<fetch|push>] <name> <url>
  803. or: git remote rename <old> <new>
  804. or: git remote remove <name>
  805. or: git remote set-head <name> (-a | --auto | -d | --delete | <branch>)
  806. or: git remote [-v | --verbose] show [-n] <name>
  807. or: git remote prune [-n | --dry-run] <name>
  808. or: git remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)...]
  809. or: git remote set-branches [--add] <name> <branch>...
  810. or: git remote set-url [--push] <name> <newurl> [<oldurl>]
  811. or: git remote set-url --add <name> <newurl>
  812. or: git remote set-url --delete <name> <url>
  813.  
  814. -v, --verbose be verbose; must be placed before a subcommand
  815.  
  816.  
  817. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  818. $ git remote rename origin github
  819.  
  820. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  821. $ git push -u github master
  822. Counting objects: 3, done.
  823. Writing objects: 100% (3/3), 213 bytes | 0 bytes/s, done.
  824. Total 3 (delta 0), reused 0 (delta 0)
  825. To https://github.com/DeVoresyah/test.git
  826. * [new branch] master -> master
  827. Branch master set up to track remote branch master from github.
  828.  
  829. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  830. $ history
  831. 1 cd /
  832. 2 cd D:
  833. 3 clear
  834. 4 cd GitHub
  835. 5 ls
  836. 6 cd DeVoresyah.github.io
  837. 7 git init
  838. 8 ls
  839. 9 cd /
  840. 10 ;s
  841. 11 ls
  842. 12 cd C:
  843. 13 clear
  844. 14 ls
  845. 15 cd Users
  846. 16 ls
  847. 17 cd Elliot
  848. 18 ls
  849. 19 ls -al ~/.ssh
  850. 20 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  851. 21 ls -al ~/.ssh
  852. 22 ssh-agent -s
  853. 23 ssh-add ~/.ssh/id_rsa
  854. 24 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  855. 25 ls -al ~/.ssh
  856. 26 ssh-agent -s
  857. 27 ssh-add ~/.ssh/id_rsa
  858. 28 ssheval `ssh-agent -s`
  859. 29 eval `ssh-agent -s`
  860. 30 ssh-add ~/.ssh/id_rsa
  861. 31 clipp < ~/.ssh/id_rsa.pub
  862. 32 clip < ~/.ssh/id_rsa.pub
  863. 33 eval ssh-agent -s
  864. 34 ssh -T git@github.com
  865. 35 exit
  866. 36 #test
  867. 37 #fist you
  868. 38 exit
  869. 39 su
  870. 40 exit
  871. 41 ls ~/.ssh
  872. 42 ls -al ~/.ssj
  873. 43 clear
  874. 44 ls -al ~/.ssh
  875. 45 ls -al ~/.ssh
  876. 46 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  877. 47 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  878. 48 ls -al ~/.ssh
  879. 49 eval `ssh-agent -s`
  880. 50 ssh-add ~/.ssh/rsa
  881. 51 ssh-add ~/.ssh/id_rsa
  882. 52 clip < ~/.ssh/id_rsa.pub
  883. 53 ssh -T git@github.com
  884. 54 cd /
  885. 55 D:
  886. 56 cd D:
  887. 57 cd GitHub
  888. 58 ls
  889. 59 cd DeVoresyah.github.io
  890. 60 git init
  891. 61 git config --global user.name "DeVoresyah:
  892. 62 git config --global user.name "DeVoresyah"
  893. 63 git config --global user.email "de.voresyah@gmail.com"
  894. 64 git init
  895. 65 git add .
  896. 66 git commit -m 'new update'
  897. 67 git add .
  898. 68 git commit -m 'new update'
  899. 69 git push
  900. 70 git push
  901. 71 python --version
  902. 72 pwd
  903. 73 cd /
  904. 74 pwd
  905. 75 cd C:
  906. 76 cd C:\RubyDevKit
  907. 77 ruby dk.rb init
  908. 78 ruby dk.rb install
  909. 79 gem install jekyll
  910. 80 gem install jekyll
  911. 81 gem install jekyll
  912. 82 gem sources --remove https://rubygems.org/
  913. 83 gem sources -a http://rubygems.org/
  914. 84 gem sources -a http://rubygems.org/
  915. 85 gem sources --add http://rubygems.org/
  916. 86 gem sources --add https://ruby.taobao.org/
  917. 87 gem -v
  918. 88 gem install jekyll
  919. 89 gem -a https://rubygems.org/
  920. 90 gem sources -a https://rubygems.org/
  921. 91 cleare
  922. 92 clear
  923. 93 gem install jekyll
  924. 94 ruby -v
  925. 95 gem update --system
  926. 96 clear
  927. 97 gem install jekyll
  928. 98 gem sources -a https://rubygems.org/
  929. 99 gem sources -a http://rubygems.org/
  930. 100 gem sources -a https://rubygems.org/
  931. 101 gem sources -a rubygems.org
  932. 102 host rubygems.org rubygems.org has address 72.4.120.124
  933. 103 gem -v
  934. 104 pwd
  935. 105 gem install --local C:\Users\Elliot\Downloads
  936. 106 gem install --local C:\Users\Elliot\Downloads\rubygems-update-2.0.15.gem
  937. 107 gem install --local C:\rubygems-update-2.0.15.gem
  938. 108 gem --version
  939. 109 gem install --local C:\rubygems-update-2.0.15.gem
  940. 110 cd /
  941. 111 pwd
  942. 112 cd C:\Users\Elliot\Desktop\gem
  943. 113 cd C:
  944. 114 cd Users/Elliot
  945. 115 pwd
  946. 116 gem install --local C:/rubygems-update-2.0.15.gem
  947. 117 update_rubygems --no-ri --no-rdoc
  948. 118 gem --version
  949. 119 gem uninstall rubygems-update -x
  950. 120 gem install jekyll
  951. 121 gem sources -a https://rubygems.org/
  952. 122 gem sources -a http://rubygems.org/
  953. 123 gem sources -a https://rubygems.org/
  954. 124 gem install
  955. 125 gem install jekyll
  956. 126 gem install jekyll --source http://rubygems.org
  957. 127 gem install jekyll -v 3.0.0
  958. 128 gem sources -a https://rubygems.org/
  959. 129 pwd
  960. 130 cd c:/
  961. 131 ls
  962. 132 cd RubyDevKit
  963. 133 ls
  964. 134 ruby dk.rb init
  965. 135 ruby dk.rb install
  966. 136 gem 0v
  967. 137 gem -v
  968. 138 cls
  969. 139 clear
  970. 140 gem install jekyll -v 3.0.0
  971. 141 gem 'jekyll', '~> 2.5', '>= 2.5.3'
  972. 142 gem -v
  973. 143 gem install jekyll
  974. 144 cd C:/
  975. 145 ls
  976. 146 cd RubyDevKit
  977. 147 ls
  978. 148 ruby dk.rb init
  979. 149 ruby dk.rb install
  980. 150 exit
  981. 151 gem 0v
  982. 152 gem -v
  983. 153 gem install jekyll
  984. 154 cd c:/rubydevkit
  985. 155 ls
  986. 156 ruby dk.rb init
  987. 157 ruby dk.rb install
  988. 158 gem install jekyll
  989. 159 gem install jekyll -v 3.0.0
  990. 160 cd /
  991. 161 cd c:/RubyDevKit
  992. 162 ls
  993. 163 ruby dk.rb init
  994. 164 ruby dk.rb install
  995. 165 cd /
  996. 166 cd c:/RubyDevKit
  997. 167 ls
  998. 168 ruby dk.rb init
  999. 169 ruby dk.rb install
  1000. 170 gem install jekyll
  1001. 171 clear
  1002. 172 ruby -v
  1003. 173 gem -v
  1004. 174 gem install jekyll
  1005. 175 gem sources
  1006. 176 gem sources -a https://rubygems.org/
  1007. 177 gem sources
  1008. 178 gem sources -a http://rubygems.orb/
  1009. 179 gem sources -a http://ruby.taobao.org/
  1010. 180 gem sources --remove http://rubygems.org/
  1011. 181 gem sources -a http://ruby.taobao.org/
  1012. 182 gem 'jekyll', '~> 2.5', '>= 2.5.3'
  1013. 183 gem install jekyll -v 2.5.3
  1014. 184 gem install jekyll --source http://rubygems.org
  1015. 185 cd ..
  1016. 186 ls
  1017. 187 cd Ruby193
  1018. 188 gem install jekyll-2.5.3.gem
  1019. 189 jekyll -v
  1020. 190 gem install jekyll
  1021. 191 cd /
  1022. 192 gem install jekyll
  1023. 193 cd /
  1024. 194 cd c:\Ruby 193
  1025. 195 cd "c:/ruby 193"
  1026. 196 cls
  1027. 197 clear
  1028. 198 ls
  1029. 199 cd c:
  1030. 200 ls
  1031. 201 cd Ruby193
  1032. 202 cd RubyDevKit
  1033. 203 ruby dk.rb init
  1034. 204 ruby dk.rb install
  1035. 205 gem install jekyll
  1036. 206 gem sources
  1037. 207 gem -v
  1038. 208 python -v
  1039. 209 ruby 0v
  1040. 210 ruby -v
  1041. 211 clear
  1042. 212 ruby -v
  1043. 213 cd /
  1044. 214 cd d:/lostsaga
  1045. 215 lswebbroker.exe
  1046. 216 start lswebbroker.exe
  1047. 217 gem update
  1048. 218 gem cleanup
  1049. 219 gem update
  1050. 220 gem install jekyll
  1051. 221 pwd
  1052. 222 cd /
  1053. 223 cd c:
  1054. 224 cd Ruby193/RubyDevKit
  1055. 225 gem install jekyll -v 2.5.3
  1056. 226 gem sources -a https://rubygems.org/
  1057. 227 gem sources
  1058. 228 gem install jekyll -v 2.5.3
  1059. 229 cd /
  1060. 230 cd d:
  1061. 231 cd GitHub
  1062. 232 ls
  1063. 233 cd DeVoreysah.github.io
  1064. 234 cd DeVoresyah.github.io
  1065. 235 jekyll serve
  1066. 236 exit
  1067. 237 cd /
  1068. 238 cd d:
  1069. 239 cd github
  1070. 240 cd devoresyah.github.io
  1071. 241 ls
  1072. 242 jekyll serve
  1073. 243 gem wdm >= 0.1.0
  1074. 244 cd /
  1075. 245 cd d:
  1076. 246 cd github/devoresyah.github.io
  1077. 247 jekyll serve
  1078. 248 gem 'wdm' >= 0.1.0
  1079. 249 jekyll serve
  1080. 250 cd /
  1081. 251 pwd
  1082. 252 cd d:/github/
  1083. 253 cd devoresyah.github.io
  1084. 254 ks'
  1085. 255 ls
  1086. 256 cd =
  1087. 257 #sd
  1088. 258 sdde'
  1089. 259 dded'
  1090. 260 sded;
  1091. 261 sdsds'
  1092. 262 #dsds
  1093. 263 clear
  1094. 264 clear
  1095. 265 clear
  1096. 266 text'
  1097. 267 oke caranya gini
  1098. 268 clear
  1099. 269 exit
  1100. 270 cd /
  1101. 271 cd d:/lostsaga
  1102. 272 start lswebbroker.exe
  1103. 273 connect
  1104. 274 cd ..
  1105. 275 ls
  1106. 276 cd projct
  1107. 277 ls
  1108. 278 cd License
  1109. 279 ls
  1110. 280 cd bin
  1111. 281 ls
  1112. 282 cd debug
  1113. 283 ls
  1114. 284 start demo.exe
  1115. 285 clear
  1116. 286 date
  1117. 287 cd /
  1118. 288 cd d:/github/
  1119. 289 git init
  1120. 290 git clone https://github.com/DeVoresyah/OLShop.git
  1121. 291 cd OLShop
  1122. 292 git init
  1123. 293 git add .
  1124. 294 git add .
  1125. 295 git commit -m 'tugas selesai'
  1126. 296 git push
  1127. 297 cd ..
  1128. 298 git init
  1129. 299 git remote add origin git@gitbucket.org:devoresyah/test-private-repository
  1130. 300 cd teste
  1131. 301 git init
  1132. 302 git remote add origin git@gitbucket.org:devoresyah/test-private-repository.git
  1133. 303 echo "# Test Readmi" >> README.md
  1134. 304 git branch -v
  1135. 305 git add .
  1136. 306 git commit -m 'first commit'
  1137. 307 git push -u origin master
  1138. 308 git init
  1139. 309 git remote add origin cd ..
  1140. 310 cd ..
  1141. 311 cd Kontribusi-Repo
  1142. 312 echo "# Belajar Fork Git" >> README.md
  1143. 313 git init
  1144. 314 git add .
  1145. 315 git commit -m "first commit"
  1146. 316 git remote add origin https://github.com/DeVoresyah/Kontribusi-Repo.git
  1147. 317 git push -u origin master
  1148. 318 git pull
  1149. 319 git add .
  1150. 320 git commit -m 'commit after pull'
  1151. 321 git push
  1152. 322 git pull
  1153. 323 git remote -v
  1154. 324 git add .
  1155. 325 git commit -m 'love senpai nahrul'
  1156. 326 git push origin master
  1157. 327 git pull
  1158. 328 git add .
  1159. 329 git commit -m 'love senpai nahrul'
  1160. 330 git push origin master
  1161. 331 git checkout -b senpai
  1162. 332 bit branch -v
  1163. 333 git branch -v
  1164. 334 history
  1165. 335 touch oppai.daisuki
  1166. 336 git status
  1167. 337 git .
  1168. 338 git add .
  1169. 339 git commit -m 'touch oppai senpai'
  1170. 340 git push origin senpai
  1171. 341 git pull
  1172. 342 git pull origin master
  1173. 343 git pull origin senpai
  1174. 344 cd /
  1175. 345 cd
  1176. 346 cd /
  1177. 347 ;s
  1178. 348 clear
  1179. 349 ls
  1180. 350 cd
  1181. 351 ls
  1182. 352 clear
  1183. 353 cat ~/.ssh/id_rsa.pub
  1184. 354 clear
  1185. 355 ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  1186. 356 ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  1187. 357 ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  1188. 358 cat ~/.ssh/id_rsa.pub
  1189. 359 clip < ~/.ssh/id_rsa.pub
  1190. 360 Host gitlab.com
  1191. 361 perhaps gitlab.com
  1192. 362 cd
  1193. 363 ;s
  1194. 364 ls
  1195. 365 cd /
  1196. 366 ls
  1197. 367 cd
  1198. 368 ls
  1199. 369 cd /
  1200. 370 cd c:
  1201. 371 ls
  1202. 372 cd Users/Elliot
  1203. 373 ls
  1204. 374 cd .ssh
  1205. 375 cd ..
  1206. 376 dir
  1207. 377 cd .ssh
  1208. 378 ls
  1209. 379 ssh -T git@gitlab.com
  1210. 380 ssh -T git@gitlab.com
  1211. 381 ssh -T git@gitlab.com
  1212. 382 cat ~/.ssh/id_rsa.pub
  1213. 383 cd ..
  1214. 384 rmdir .ssh
  1215. 385 rmdir -S .ssh
  1216. 386 rmdir --help
  1217. 387 rmdir -p ~/.ssh/
  1218. 388 del --help
  1219. 389 rm -r .ssh
  1220. 390 cd .ssh
  1221. 391 ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  1222. 392 clip < ~/.ssh/id_rsa.pub
  1223. 393 ssh -T git@gitlab.com
  1224. 394 clip < ~/.ssh/id_rsa.pub
  1225. 395 ~/.gitconfig
  1226. 396 ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  1227. 397 cat ~/.ssh/id_rsa.pub
  1228. 398 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  1229. 399 ssh-keygen -t rsa -C "de.voresyah@github.com"
  1230. 400 ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  1231. 401 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  1232. 402 ssh-keygen -t rsa -C "de.voresyah@gmail.com"
  1233. 403 cat ~/.ssh/github.pub
  1234. 404 clip < ~/.ssh/github.pub
  1235. 405 clip < ~/.ssh/gitlab.pub
  1236. 406 ssh-add ~/.ssh/github
  1237. 407 ssh-add ~/.ssh/gitlab
  1238. 408 eval `ssh-agent -s`
  1239. 409 ssh-add ~/.ssh/github
  1240. 410 ssh -T git@github.com
  1241. 411 ssh-add ~/.ssh/gitlab
  1242. 412 ssh -T git@gitlab
  1243. 413 ssh -T git@gitlab.com
  1244. 414 ssh --help
  1245. 415 ssh-i
  1246. 416 ssh -T git@github.com
  1247. 417 pwd
  1248. 418 cat ~/.gitconfig
  1249. 419 git config --global user.email "de.voresyah@gmail.com"
  1250. 420 git config --global user.name "DeVoresyah"
  1251. 421 cat ~/.gitconfig
  1252. 422 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  1253. 423 ssh-agent -s
  1254. 424 eval $(ssh-agent -s)
  1255. 425 ssh-add ~/.ssh/github
  1256. 426 whoami
  1257. 427 ssh-add ~/.ssh/github
  1258. 428 ssh -T git@github.com
  1259. 429 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  1260. 430 ssh-agent -s
  1261. 431 eval $(ssh-agent -s)
  1262. 432 ssh-add ~/.ssh/gitlab
  1263. 433 ssh -T git@gitlab.com
  1264. 434 ssh -T git@gitlab.com
  1265. 435 ssh -T git@gitlab.com
  1266. 436 ssh -T git@github.com
  1267. 437 #salah, bener,, tadi phas github sama gitlab sama gk, beda, samain aja napa bikin bingung sendiri,, kirain gk bisa sama,, bisa sama, tapi km salah tuh
  1268. 438 ssh -T git@github.coms
  1269. 439 ssh -T git@github.com
  1270. 440 ssh -T git@gitlab.com
  1271. 441 ssh -T git@github.com
  1272. 442 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com
  1273. 443 ssh-keygen -t rsa -b 4096 -C "de.voresyah@gmail.com"
  1274. 444 git-add ~/.ssh/github
  1275. 445 ssh-add ~/.ssh/github
  1276. 446 clip < ~/.ssh/github.pub
  1277. 447 ssh -T git@github.com
  1278. 448 #udah, saya ada pertanyaan man
  1279. 449 sed -i 's/github/gitlab/g' ~/.ssh/config
  1280. 450 mkdir repo
  1281. 451 cd repo
  1282. 452 echo # test >> README.md
  1283. 453 git init
  1284. 454 git add README.md
  1285. 455 git commit -m "first commit"
  1286. 456 git remote add origin https://github.com/DeVoresyah/test.git
  1287. 457 git push -u origin master
  1288. 458 ls
  1289. 459 touch README.md
  1290. 460 git add README.md
  1291. 461 git commit -m "first commit"
  1292. 462 git remote add origin https://github.com/DeVoresyah/test.git
  1293. 463 git push -u origin master
  1294. 464 git remote add origin git@gitlab.com:DeVoresyah/test.git
  1295. 465 git remote add gitlab git@gitlab.com:DeVoresyah/test.git
  1296. 466 ssh -T git@gitlab.com
  1297. 467 git push -u gitlab master
  1298. 468 git remote ranme origin github
  1299. 469 git remote rename origin github
  1300. 470 git push -u github master
  1301. 471 history
  1302.  
  1303. Elliot@elliot-fsociety MINGW64 ~/repo (master)
  1304. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement