Set up Git server details and set up git details
In the remote warehouse section, we talked about the fact that the remote warehouse is no different from the local warehouse. It is purely for 7x24 boot and everyone's modifications are exchanged.
GitHub is a free remote repository hosting open-
Learn more about Mac-connected git operations for MacFirst on the service sideFirst: Create a new warehouse1, Cd/users/username/projectsUse the Linux command to enter a folder that you want to create to share with others.2,sudo git--bare initBuild a git repository.The "git init–bare" method creates a so-called bare rep
1, gitblit installation1.1, Gitblit introductionThe Git is well-liked by programmers in the area of version control. For open source projects, can be hosted free of charge to github above, quite convenient. But private project hosting to github will charge quite an expensive fee. Also some enterprises, units developed in the LAN, then how to use
projects of interest to them due to good control of the branch. Many open source projects, including Linux kernel, Samba, x.org Server, Ruby on Rails, have transitioned to using Git as their version control tool. For those of us who like to write code, there are two of the biggest benefits, we can submit our own code
This article uses the Node-git-server1. Detect local git versionThe use of this package requires that Git be installed on the machine, and Git has a version greater than or equal to 2.7:1 ╭─[email protected]/home/workspace 2 ╰─# git--version
Git is an open source distributed version control system that can efficiently and efficiently handle project versioning from very small to very large. Allows developers to clone (git clone), copy a full git repository on the local machine, or commit the code to a
you to install a third-party git tool. Although not installed can also be used, but VisualStudio in the integration of the features are relatively small (for the time being, is not enough), if you want to use other features, you need to be implemented through a third-party git tool.Installation method is relatively simple, directly follow the prompts to continue the next step, here is not more introduction
conflicts, they can submit patches to the primary developers.2. From the perspective of the primary developer (assuming the primary developer does not need to develop code), git has the following features:
1. view the mail or other methods to view the submission status of general developers. 2. Install patches to resolve conflicts (you can resolve the conflicts by yourself or ask developers to resolve the issues before resubmitting them. If it is an
These two days in toss build group git server environment, just start originally want to try to use Gitlab, but install up for my Linux rookie is a bit difficult, toss for a long time Gitlab did not fix decisively gave up.
Then find some articles online to follow, may be due to the version of the server, the version of the software and other reasons, in short, I
Git is Linux Torvalds to help manage LinuxAn open source distributed version control software developed by the kernel is different from a centralized version control system such as subversion and CVS. There is only one warehouse in the centralized version control system.Library (repository), many working directories, while in distributed version control systems s
does not have such a large.
The General people use Git+github to build for local remote interaction, but GitHub get a private warehouse is to knife le think, if you are very dig, or your great idea do not want to be targeted, you can consider using git+ Jinshan fast disk to build a private server.
No more, here are the steps:
Download and install Jinshan fast
"# Git push
3. Add the project test in git.
The Code is as follows:# Su-git# Cd ~ /Projects# Mkdir test# Cd test# Git init# Echo "Hello World."> hello.txt# Git add hello.txt# Git commit-am 'first commit'#
add confgit add KeydirGit commit-m ' added Foo,bob 'git push7. CheckCat/home/git/.ssh/authorized_keysNote: If you want to manage server on another computer as follows, you can ssh [email protected] help if neededGit-client:1. Refer to Git-server second step to generate SSH
enabled SSH key authentication, create a gituser. This is a public user for all authorized users: $su-c'addusergituser'Switch to the newly created gituser and create ~ /. Ssh framework, and set the appropriate permissions. This is very important. If the permission is set too open, it will make your own SSH protection meaningless. $su-gituser $mkdir.sshchmod700.ssh $touch.ssh/authorized_keys $chmod600.ssh/authorized_
Reference article:Http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/ 00137583770360579bc4b458f044ce7afed3df579123eca000Http://wlog.cn/soft/git-ssh-server-for-debian.htmlIn the Remote Warehouse section, we talked about the remote warehouse is actually not very different from the local warehouse, purely for 7x24 hours to boot and exchange changes.GitHub is a remote repository
convenient. For example: Right-click under D:\hjj-repo10) TestingEnter "Git version" in the command line that appears, the following content is the installation success;1.2.2Gitblit Installation1) Direct decompression, catalogue optional;2) configuration gitblit.properties;A. Path: Gitblit directory/data/gitblit.properties, "notepad" open;B. Locate the Server.httpport, set the port number for the HTTP prot
application of regular wallpaper replacement
(AntennaPod) podcast Management Software
(Weiciyuan) Sina simple client
(K-9) Mail Client
AnimeTaste
(FineDay) and simplified weather applications
How to determine the security and stability of open-source projects for android
Why do most server systems on the market use
How does one process git http requests based on PHP itself when git creates a server repository? I don't know how github, gitlab, and other products can use the WEB account of the website to perform HTTP authentication and manage project members? Write your own interface service without third-party software! How does one process
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.