Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Build a git code synchronization platform

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Download and install git

Https://git-scm.com/download/win

1. Install git to specify the variable path

3. Settings > user Settings > Open Code

4. Find the git configuration

In the setting locale, this is read-only

5. Enter the project directory and right-select git bash

6. Execute the following command to create the work area and pull the code to the local warehouse

Git init

Git remote add origin http://ip:3000/xx.git (warehouse that xx.git created for you)

Git pull origin master

5. To write

Click to temporarily save changes

Click submit

Select push

Then the local code is pushed and merged into the remote warehouse.

Finally, check the remote warehouse.

Finish, if something is wrong, or if you have any better suggestions, please leave a message to learn from each other.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report