How to install and config Smartgit + Git + Bitbucket.org
- Download install Git: http://git-scm.com/downloads
 
- Download install SmartGit: http://www.syntevo.com/smartgit/download.html
 
- Add SSH public key:
 
- Generate SSH public key if it hasn't been created
 
-  Open Git Bash -> Generate SSH public key by typing: ssh-keygen -t 
rsa -C "your_email@youremail.com" -> Public key will be located in 
folder "~/.ssh/"
 
-  Add SSH public key to bitbucket.org
 
- Open bitbucket.org -> Account setting -> SSH keys -> Add Key -> Add content of "~/.ssh/id_rsa.pub" as a key
 
- In order to be able to push, you have to config your name and email, open Git Bash, type:
 
- git config --global user.email "abcd@xyzt.com"
 
- git config --global user.name "Blah Bloh"
 
- Clone a project (choose SSH, don't choose HTTPS, otherwise you will not be able to push properly by SmartGit - Actually, I don't know why, it took me a few hours to realize that, but I still can't explain why now lol):
 
- git clone git@bitbucket.org:user_name/project_name.git
 
- Add project to Smartgit:
 
- Project -> Open Repository -> Choose your project folder -> Next...
 
 
 
 
 
 
          
      
 
  
 
 
 
 
 
 
 
 
 
 
 
 
i'm tried, but failed, authentication failed.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDelete