GIT basic usage

Git basic commands When you have a new repo git clone git@github.com:vincentserpoul/rbac.git https or git? the git protocal provides better security and easiness if you are using a correct key. If you use the git protocol, you can easily associate your private key in the ~/.ssh/config file with the following: Host github Hostname github.com User vincentserpoul IdentityFile ~/.ssh/myprivatekey IdentitiesOnly yes When you have a new modification ready for commit git status You will get an overview of what’s new If there is any new files (Untracked files), you will first need to add them:...

February 20, 2015 · 2 min · Me