Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Friday, 3 April 2020

How to synchronize local git repository with github remote?

$ ssh-keygen -t rsa -b 4096 -C "tamilnenjam@gmail.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/tamil/.ssh/id_rsa):
/c/Users/tamil/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase): something
Enter same passphrase again: something
Your identification has been saved in /c/Users/tamil/.ssh/id_rsa
Your public key has been saved in /c/Users/tamil/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:p1SFwc/Nu+Z5X/aAPJHH8ri28iugWxzjE0TmbI68NCI tamilnenjam@gmail.com
The key's randomart image is:
+---[RSA 4096]----+
|        o..o.    |
|       =  o.     |
|        = .o o   |
|     . = .  ooo  |
|  E . = S . + o. |
|   . o *.* . B.  |
|      ..*.  = o.o|
|      .. .o .oo++|
|      ..   ===o.+|
+----[SHA256]-----+


$  eval $(ssh-agent -s)
Agent pid 144


$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /c/Users/tamil/.ssh/id_rsa:
Identity added: /c/Users/tamil/.ssh/id_rsa (tamilnenjam@gmail.com)


clip < ~/.ssh/id_rsa.pub

paste this key in git hub settings - SSH and GPG keys


https://github.com/tamilnenjam/awesome.git


echo "# awesome" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/tamilnenjam/awesome.git
git push -u origin master

Flume - Simple Demo

// create a folder in hdfs : $ hdfs dfs -mkdir /user/flumeExa // Create a shell script which generates : Hadoop in real world <n>...