

If you have no interest in running your own server, you can skip to the last section of the chapter to see some options for setting up a hosted account and then move on to the next chapter, where we discuss the various ins and outs of working in a distributed source control environment.Ī remote repository is generally a bare repository - a Git repository that has no working directory.īecause the repository is only used as a collaboration point, there is no reason to have a snapshot checked out on disk it’s just the Git data. When using the command line (msysgit), everything works ok, but. Last, we’ll go over a few hosted options, if you don’t mind hosting your code on someone else’s server and don’t want to go through the hassle of setting up and maintaining your own server. Im on Windows, I use the system ssh, and I have a ssh-agent running with all the keys I use.

Smartgit use ssh instead of https how to#
The next sections will explain some typical setups using those protocols and how to get your server running with them. In case of Mac OSX installer, copy smartgit to your.
Smartgit use ssh instead of https mac os x#
Install using Windows / Mac OS X installer. Another must read: How to Configure BitBucket Git Repository in you Eclipse Steps to Setup SmartGit for your BitBucket Git Repository: Step-1.
.png)
Also, does that URL contain a colon or a slash Also, does that URL contain a colon or a slash It would never have worked at all with a colon. The first section of this chapter will cover the available protocols and the pros and cons of each. A built-in SSH client (optionally, external SSH client can also be used). Your example of the JSON file contains git+ssh://, which is an older synonym for ssh://. Running a Git server is fairly straightforward.įirst, you choose which protocols you want your server to support. Therefore, the preferred method for collaborating with someone is to set up an intermediate repository that you both have access to, and push to and pull from that. However, in order to do any collaboration in Git, you’ll need to have a remote Git repository.Īlthough you can technically push changes to and pull changes from individuals' repositories, doing so is discouraged because you can fairly easily confuse what they’re working on if you’re not careful.įurthermore, you want your collaborators to be able to access the repository even if your computer is offline - having a more reliable common repository is often useful. At this point, you should be able to do most of the day-to-day tasks for which you’ll be using Git.
