Skip to content

Instantly share code, notes, and snippets.

@zicodhkbd
Last active November 1, 2019 18:38
Show Gist options
  • Save zicodhkbd/d9d7858b51a10c1a3be6ff54b069d9dc to your computer and use it in GitHub Desktop.
Save zicodhkbd/d9d7858b51a10c1a3be6ff54b069d9dc to your computer and use it in GitHub Desktop.
git ssh add git clone git repo add
#!/bin/sh
cd /home/zico/.ssh/
ls -al ~/.ssh
ssh-keygen -t rsa -b 4096 -C "zicodhkbd@gmail.com"
ls -al ~/.ssh
cat /home/zico/.ssh/id_rsa.pub
copy key and add
https://github.com/settings/ssh/new
ssh -T git@github.com
cd Downloads/
git clone https://github.com/Jasmin-SMPP-Server-.git
cd Jasmin-SMPP-Server-/
git init
git add .
git commit -m "first commit"
[add new repository name]
git remote add origin git@gist.github.com:2540493af48273a05d69d5028e45c60b.git
git push -u origin master
git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment