Build a git environment under Linux1. Create a GitHub account, https://github.com2, Linux create SSH key:[Plain]View Plaincopy
Ssh-keygen # #一直默认就可以了
3. Add the public key to the GitHub account information accounts settings->ssh key4. Test verification is successful.[Plain]View Plaincopy
ssh-t [email protected]
Hi someone! You've successfully authenticated, but GitHub does not pro
Objective
GitHub is a remote repository that is free to host open source code. But for some depending on the source code such as life of commercial companies, neither want to open the source code, but also reluctant to give GitHub to pay protection fees, then you can only build a git server as a private warehouse to use.
I'm going to build my own git server. While there are already good
yourself) and then copy the ~/.ssh/id_ Rsa.pub file content sticky, add Key button added.(4) test[Email protected]4. Submit changes for repository on GitHub(1) Git clone already exists on GitHub repository. (In the new ~/mytestfolder directory)git clone https://github.com/zhchnchn/ZhchnchnTest.git(2) Modify a file and then submitVim readme.mdgit statusgit Add readme.mdgit statusgit commit-m "Edit by Workub
Recently learning Linux, finally on Linux with Apache built a git server, this record.
Server: Aliyun Server
Linux version: CentOS 6.5
Apache version: apache/2.2.15
git version: Git 1.7.1
/Third, git configurationBasic configuration, SSH key pair configuration1. Configure user name (referenced at commit)git config--global user.name ' Xningge '#请把xningge替换成自己的用户名2. Configure the mailbox (referenced at commit)git config--global user.email "[Email protected]"#请把 [email protected] to replace your own user mailbox3. Other configurationsgit config--glob
Today, the GIT Installation Process on Linux is tortuous. record the following:
First, Perl is required.
Rpm-IVH git-1.7.1-14.2.x86_64.rpm
Warning: git-1.7.1-14.2.x86_64.rpm: Header V3 DSA/sha1 signature, key ID c428b69d: nokey
Error: Failed dependencies:
Perl is needed by git
manipulatedObjects: Object library, which is used to actually store the contents of the file, similar to the file system block#用于将工作区修改的内容保存到暂存区git Add [file#清除还没有加入版本库的文件及文件夹The Git clean-fd# is used to recall the file corresponding to the workspace in the same state as staging area, #也就是相对暂存区新做的修改都会删除git checkout [filerm -- Cached [file] #将工作区以及暂存区的文件都恢复为和HEAD
64-bit registration and installation of the git version control tool in CentOS6.5 for Linux, centos6.5git
I. Description
This article describes the entire process of Linux CentOS6.5 64-bit registration and installation of the git version control tool. Git is a distributed ve
The first stepInstall Git: Can be quickly installed by command, different Linux installation methods may not be the same, I am using the Yum method. Ubuntu can use the Apt-get command.sudo yum install gitStep TwoAdd git users, because the GIT server only qualified to do the project code Exchange, specifically to open a
root root and need to be modified to git.Drwxr-xr-x. 7 root root 4096 January 8 17:20 project.gitdrwx------. 2 root root 28 January 8 17:16. SSHExecute command:Chown-r git:git project.gitchown-r git:git. SSHAt this point, we found that we could download git without having to login with the password directly.6. Managing git accountsAt first, we created the GIT
I've heard of GitHub many times before, but it's not until recently that I learned to use GitHub to host my own code under Linux! To tell the truth, I myself in the use of the time from the online search a lot of tutorials, but always feel difficult to master (step too cumbersome), the time of their own operation is quite complicated! (To be honest, it is not enough to understand) but finally, through his own groping, learned to load GitHub and use th
Previously described how to build a git repository server on Windows, but the server with more than Linux, because cheap (the same VPS is generally cheaper than Windows Linux), no graphical interface, low-profile VPS can also run Linux, open source free, I feel more flexible, download source is also convenient, mobile
Git is a popular open source version control system (VCS) that was originally developed for the Linux environment. Unlike CVS or SVN version control systems, Git's versioning is considered "distributed", and in a sense, Git's local working directory can be used as a fully functional warehouse with complete history and version tracking capabilities. Under this working model, each collaborator submits content
Linux-common Git commands1. github Introduction
Git is a distributed version control system. It was originally written by Linus Torvalds and used for Linux kernel code management. After its launch, Git has also achieved great success in other projects, especially in the Ruby
account name, depending on the account you used to execute the above command). ssh/id_rsa.pub file to add the contents to GitHub.This way you can link to GitHub via SSH. But GitHub as a remote repository, you can link to this repository and keep it in sync. But you can't upload your local repository directly to GitHub. So you should set up a repository in GitHub, then build a repository locally, link the two, and then write to the file to perform version management. The commands used aregit rem
Git is an open source distributed version control system that can efficiently and rapidly handle project versioning from very small to very large. And the foreign GitHub and the domestic coding are the project's hosting platform. But when it comes to using Git tools, the first step is to learn how to install git, and this tutorial teaches you how to manually comp
Reproduced to: http://www.cnblogs.com/justinzhang/archive/2011/07/18/2109970.html
Some other references to repo:
Git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Https://git.kernel.org/pub/scm/linux/kernel/
I have organized several test projects under GitHub and intend to integrate Python-related
Program Put it under Linux for maintenance. So I learned about the GIT command line tool.
Git add# Put files into the local database
Git commit-M "Log message"-# Submit the modification to the local database-A indicates all,
Git is an open source distributed version control system, and GitHub is a code hosting platform that relies on git.
GitHub leverages Git's extremely powerful cloning and branching capabilities, allowing community members to freely participate in open source projects.
However, before you start learning, you need a GitHub account and a Linux virtual machine
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.