starting with GIT source control


Install git if you don't have it and verify version.

git --version
git version 1.7.10.2 (Apple Git-33)

git config --global user.name "Uki D. Lucas"
git config --global user.email "uki@CyberWalkAbout.com"


Trying to "Clone" remote repository


$ git clone "ssh://git@xyz.xyz.com/xyz/xyz.git" .
Cloning into '.'...



Warning: Permanently added the RSA host key for IP address '174.129.252.219' to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly


Add your public key to the external git repository

cat ~/.ssh/id_rsa.pub | pbcopy

Paste it in a notepad:

ssh-rsa AAAAB..........


If you don't have, you can create your public key using command: 
ssh-keygen -t rsa -C ""




If you added your RSA key successfully, try clone again:


uki:git_test uki$ git clone "ssh://zzz@zz.zzz.com/zzz/zzzz.git" .
Cloning into '.'...
remote: Counting objects: 166, done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 166 (delta 51), reused 166 (delta 51)
Receiving objects: 100% (166/166), 375.74 KiB | 467 KiB/s, done.
Resolving deltas: 100% (51/51), done.
uki:git_test uki$ 



Initialize Local Git Repo:



uki:~ uki$ cd /Users/uki/.../.../git/..._git_repo 
uki:local_git_repo uki$ git init
Initialized empty Git repository in /Users/uki/..._git_repo/.git/



For GitHub

curl -s -O http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain

uki:~ uki$ which git
/usr/bin/git

sudo mv git-credential-osxkeychain /usr/local/git/bin/

git credential-osxkeychain




As an Amazon Associate I earn from qualifying purchases.

My favorite quotations..


“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.”  by Robert A. Heinlein

"We are but habits and memories we chose to carry along." ~ Uki D. Lucas


Popular Recent Articles