Document directory
Fork, code, pull
Secure Code hosting
Work as a team
Collaborate and get Social
Integrate
Https://bitbucket.org/
Supports git or
Mercurial is very powerful and similar, but most importantly, it supports free git private repository. It also supports social networking.
Unlimited disk space unlim
or a list of paths to local source directories for the projects:Repo sync [Proj1Proj2...
Projn]
If you run repo sync without any arguments, it will synchronize the files for all the projects.
How repo synchronization worksWhen you run repo sync, this is what happens:
If the project has never been synchronized, then repo
. First, check whether there is a public key. The SSH Public Key is stored in the main directory of the account by default ~ /. Ssh directory (Linux environment). If not, use the command (Linux environment ):
Ssh-keygen
Press enter all the way to create
. Ssh folderOpen two files,
Id_rsa and id_rsa.pub,
. PubIt is the public key, and the other is the private key. The public key must be handed over to the server. The server uses the public key and
, and take care of all the little details for setting up the spec in your private repo.
The structure of your repo should mirror this:
.├── Specs └── [SPEC_NAME] └── [VERSION] └── [SPEC_NAME].podspecYour Private Pod is the ready-to-be used in a podfile. You can use the spec repositor
In the era of cloud storage, all kinds of network disks have come.
You have nothing to writeCodeYou can use git to create a private quasi-Git server by using the automatic synchronization function of the online storage,
The principle is very simple. Just put git repo in th
---------------- Follow-up ----------------
My friend and I used Dropbox for SVN synchronization and found that there was no way to achieve this effect immediately after I submitted it, therefore, this article is not very reliable. The only difference in the past is to find a free VPN to access free private libraries in foreign countries. Many
/id_rsa_github
second-best solution environment variable Git_ssh_command:
From git version 2.3.0 you can use the environment variable Git_ssh_command as follows:
git_ssh_command= "Ssh-i ~/.ssh/id_rsa_example" git clone example
Note that the-I can sometimes be overwritten by your profile, in which case you should give ssh an empty configuration file as follows:
git_ssh_command= "Ssh-i ~/.ssh/id_rsa_examp
private key configuration, in fact, is very similar, because of the secrecy involved, I am not convenient to talk about the company's git public key configuration paste out (in fact, the same as the above). Believe that smart small partners can configure their own company's SSH key FAQ based on the above information
Reason, the reason for writing this article, is because before encountering this pit, in th
There have been many articles about the Amazon EC2 service, so I will not go into details about how to apply for the Amazon cloud service here. Assume that you already have an EC2 server. In addition, applications such as gitosis or gitolite are not used here. EC2 is mainly used as a personal git server through SSH. Amazon offers a free one-year discount for EC2 of the micro type.
To simplify access to the
Http://www.freehao123.com/bitbucket/
This website is very useful for recording.
Bitbucket is a free code hosting space similar to GitHub. It uses mercurial and git as the distributed version control system. In general, Bitbucket and GitHub are equivalent in terms of code hosting and management, bitbucket is even more famous than GitHub in some aspects.
Anyone who has used the GitHub space knows that the
Guide
Git version control system requires a server side, and on GitHub to create a private git server-side warehouse that touches the charges, so here we use Dropbox free space to take a look at the tutorial to build a private git
Recently hosted on Oschina, projects on Oschina are managed with Git. One of the most troublesome parts of git is that every time the code is submitted, it requires the user name and password of the input Oschina to authenticate, which greatly affects the efficiency. Oschina provides a method for SSH key access, which simply adds a public key on the Oschina and uses the key locally to allow for password-
CD ~/.sshSsh-keygen-t rsa-b 4096-c "[email protected]" then enter three combo ...You can see two more files in the current directory Id_rsa.pub and Id_rsa with a public key, without a private keyVim id_rsa.pub Open Public key, copy all content (private key)Then go to GitHub login > nod like > Point settings> Point ssh and GPG keys> point new SSH keyTitle: Casually lose, try to standardizeKey: Paste the publ
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.