

GIT Commands (init, pull, add, commit, etc.) (Optional) To remember your Git username and password when working with HTTPS repositories, configure the git-credential-osxkeychain helper. You will get something like : cat ~/.ssh/id_rsa.pub ssh-rsa AAAB3NzaC1yc2EAAAADAQABAAACAQCvMzmFEUPvaA1AFEBH6zGIF3N6pVE2SJv9V1MHgEwk4C7xovdk7Lr4LDoqEcqxgeJftwWQWWVrWWf7q9qCdHTAanH2Q5vx5nZjLB+B7saksehVOPWDR/MOSpVcr5bwIjf8dc8u5S8h24uBlguGkX+4lFJ+zwhiuwJlhykMvs5py1gD2hy+hvOs1Y17JPWhVVesGV3tlmtbfVolEiv9KShgkk3Hq56fyl+QmPzX1jya4TIC3k55FTzwRWBd+IpblbrGlrIBS6hvpHQpgUs47nSHLEHTn0Xmn6Q= this key (value) and go to and under the setting (ssh and pgp key) add your public key. Open terminal and then cd ~/.ssh then lsproceed and create the SSH keys, type ssh-keygen -t rsa -C This will create both id_rsa and id_rsa.pub files.Īdd the id_rsa to ssh list on local computer: ssh-add ~/.ssh/id_rsa.Īfter generating the keys get the pubkey using : cat ~/.ssh/id_rsa.pub

Set Git Email: git config -global user.email check just run, git config -global user.email your user email should print on your terminal. To check just run, git config -global user.nameyour user name should print on your terminal Set Git Username: git config -global user.name "your name"
