Git server simple operation 01 # ServerCeontOS6.x02yum-yinstallgit0304useraddgit05mkdir/home/git/project. git06cd/home/git/project. git07gitinit -- bare0809 # the server configuration is OK. The following figure shows the number of data transmitted by the client... git Server simple operation 01 # Server CeontOS 6. x02yum-y install git03 04 useradd git05mkdir/home/git/project. git06cd/home/git/project. git07git init -- bare08 09 # server configuration has been OK below is the client to transfer data to the server 10 # There is a git project 11 12git remote add origin git@xx.xx.xx.xx: project. git13git push origin master14 15 # so that the local project is uploaded to the server 16 17 # New developers need to clone a new git18git clone git@xx.xx.xx.xx from the server: project. git
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service