Created
April 6, 2014 11:20
-
-
Save sai-manoj-kumar/10004666 to your computer and use it in GitHub Desktop.
Steps to get ready with git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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