
- #Smartgit change ssh key how to#
- #Smartgit change ssh key install#
Go to that directory and open the public key (id_rsa.pub) with any text editor. The output will contain information on where it stored the keys. Run ssh-keygen -t rsa -C with the console. Launch Git Bash (file git-bash.bat in msysgit folder). #Smartgit change ssh key install#
Download and install the GUI for Git, TortoiseGit or SmartGit. Supposing that for some of us it could be quite enough. There is also the portable version ( PortableGit-1.7.11-preview20120710.7z), which you need only to unpack to get access to the console version of Git. Download and install an up-to-date version of msysgit from its official site. Git remote set-url origin -push Instruction for Windows users: Run the following command in local repository folder to be able to push changes Clone the repository as described in the section above. It may be critical on some versions of Ubuntu. Then copy contents of the file ~/.ssh/id_rsa.pub to the Key field on the page. If you haven’t created any, do it with the following command: ssh-keygen -t rsa -f ~/.ssh/id_rsa Leave the Passphrase empty. Configuring git Instruction for Ubuntu users: Below are the instructions for the OpenCV maintainers (2-3 people at the moment) who should be able to push changes (or rather merge the pull requests) to the main repository. Most developers should just use github and submit pull requests with their changes. After that you can work on code, submit changes via pull requests, and so on as described at How_to_contribute. Then, if you use command-line git utility, you can clone the repository to your computer by running: #Smartgit change ssh key how to#
And fork it as described in these Git instruction on how to fork.In a browser, go to the OpenCV repository.Most developers and contributors will work with their personal copy (a fork) of OpenCV repository at GitHub. You can use SourceTree as a very good GUI client. Mac users: if you installed Xcode (which you will need anyway), you already have git.apt-get install git on Ubuntu and Debian. Linux users: install command-line git utility using your package manager, e.g.Also install TortoiseGit, a convenient git front-end, which integrates right into Windows Explorer
Of course, in the case of a small patch one may simply create a ticket at and attach the patch there, but our practice shows that going through the pull request mechanism (see How_to_contribute) is much more efficient and for that you need git. Therefore, OpenCV developers and contributors should have git installed and learn at least some basics of it. Git ((software)) is distributed source code management system, which we now use to develop OpenCV.