Skip to content

Instantly share code, notes, and snippets.

@sai-manoj-kumar
Created April 6, 2014 11:20
Show Gist options
  • Save sai-manoj-kumar/10004666 to your computer and use it in GitHub Desktop.
Save sai-manoj-kumar/10004666 to your computer and use it in GitHub Desktop.
Steps to get ready with git
install git(sudo apt-get install git)
Do git configurations (https://gist.github.com/ysaimanojkumar/10004593)
install corkscrew
Generate public-private key pair using "ssh-keygen -t rsa" command
Copy the public key you have generated and paste it in SSH Keys in github
Write the ssh config(https://gist.github.com/ysaimanojkumar/10004543)
Test the ssh connection to github using "ssh -T [email protected]" command
Put the below command in your ~/.bashrc to show the current branch of your repo and to reduce the path shown to the current working directory
export PS1='\W$(__git_ps1 " [%s] ") $ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment