Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
可编程网络自动化
by
Jason Edelman
,
Scott S. Lowe
,
Matt Oswalt
January 2023
Intermediate to advanced
458 pages
14h 16m
Chinese
Posts & Telecom Press
Content preview from
可编程网络自动化
使用
Git
控制源代码
|
267
Git
本身可作为“服务器”,为运行
Git
的系统提供通信机制。
Git
支持各种传输协议,包
括安全
shell
(
SSH
)、
HTTPS
和
Git
自有协议
(使用
TCP
端口
9418
)。如果只是在不同的
系统中使用
Git
,并且要保持仓库同步,那么无须其他软件就可以实现。
此外,
Git
的分布式特性催生了众多基于
Git
的在线服务
。许多
Git
用户在使用
GitHub
或
BitBucket
等服务
。还有各种各样的开源项目通过
Git
来促进协作,比如
GitLab
、
Gitblit
或
Djacket
(托管在
GitHub
上
,这多少有些讽刺)。如你所见,使用
Git
和基于
Git
的工具与
其他人进行协作的方式不胜枚举。
本节将探究如何使用
Git
进行协作
。这种协作可能只是简单地在多个系统中保持仓库同步,
但我们也会介绍如何使用基于
Git
的公共服务
(重点是
GitHub
)。在这一过程中,你将学
习到克隆仓库,
Git
远程,从其他仓库中推送、获取和拉取变更,以及在协作时使用分支。
先从一个简单的场景开始,其中涉及运行着
Git
的多个系统
,你需要在这些系统之间共享
或同步一个或多个仓库。
8.7.1
在运行
Git
的多个系统之间协作
到目前为止,你已经在单个系统的
Git
仓库中构建了各种网络配置、脚本和模板。如果需
要或希望从其他系统访问该仓库会怎样?也许你工作时会使用桌面系统,而出差和在家时
会使用笔记本计算机。如何在两个系统中使用网络自动化仓库呢?幸运的是,鉴于
Git
的
全分布式设计,这完全是小事一桩。
能像复制文件那么简单吗?下面来看看 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
Python和NLTK实现自然语言处理
Posts & Telecom Press, Nitin Hardeniya
Go程序设计语言
艾伦A. A.多诺万, 布莱恩W. 柯尼汉
弱监督学习实用指南
Wee Hyong Tok, Amit Bahree, Senja Filipi
Python实用技能学习指南
Posts & Telecom Press, Robert Smallshire, Austin Bingham
Publisher Resources
ISBN: 9787115606181