git commands

How to create a new git branch and push it? git checkout -b new_branch_name git push -u origin new_branch_name   git config –global user.email “bob@example.com” git config user.email “bob@example.com” git commit –author...

Adding ssh key to git

ssh://git@github.com/username/repo.git And NOT the https or git one: https://github.com/username/repo.git git://github.com/username/repo.git ref: http://stackoverflow.com/questions/7773181/git-keeps-prompting-me-for-password Git auto commit as cron task #!/bin/bash cd...