私有giab使用手册

合集下载

Docker私有仓库的搭建和使用

Docker私有仓库的搭建和使用

Docker私有仓库的搭建和使用在当今互联网时代,软件开发的速度越来越快,同时也对部署和运维提出了更高的要求。

Docker作为一种轻量级的虚拟化技术,为开发者提供了更加便捷和高效的应用构建和部署环境。

然而,使用Docker时,我们常常会遇到一个问题,就是如何管理和共享我们构建的镜像。

这正是Docker私有仓库这一概念应运而生的原因。

一、Docker私有仓库的意义Docker私有仓库是一个专门用于存储和管理Docker镜像的云平台或者本地服务器。

相对于使用公共仓库,搭建私有仓库有以下几个主要的意义:1.数据安全性:私有仓库可以为我们的镜像提供更好的保护,使其不易被他人盗取或篡改。

2.权限控制:我们可以通过私有仓库来控制用户对镜像的访问权限,保护核心代码和敏感信息的安全。

3.加速构建和部署:私有仓库可以提供更快的下载速度,加快应用的构建和部署过程。

二、搭建Docker私有仓库搭建私有仓库有多种方法,可以选择使用Docker官方提供的Registry,也可以使用第三方工具如Harbor等。

下面介绍使用Docker官方Registry搭建私有仓库的方法。

1. 安装Docker Registry在服务器上安装Docker Registry非常简单,只需执行以下命令即可:```$ docker run -d -p 5000:5000 --restart=always --name registry registry:latest```2. 配置Registry在搭建好Docker Registry后,我们还需要进行一些配置工作。

首先,我们需要在Registry所在的服务器上创建一个配置文件config.yml,内容如下:```version: 0.1log:fields:service: registrystorage:cache:blobdescriptor: inmemoryfilesystem:rootdirectory: /var/lib/registryhttp:addr: :5000headers:X-Content-Type-Options: [nosniff]```然后,将config.yml文件挂载到Docker Registry的容器中,执行以下命令:```$ docker run -d -p 5000:5000 --restart=always --name registry -v/path/to/config.yml:/etc/docker/registry/config.yml registry:latest```3. 启动Registry完成配置后,我们可以重新启动Registry,使其加载我们的配置文件:```$ docker restart registry```通过以上步骤,我们就成功搭建了一个简单的Docker私有仓库。

【201507】LFS连用企业私有文件云用户手册精简版 - LinkAPP File Server

【201507】LFS连用企业私有文件云用户手册精简版 - LinkAPP File Server

连 用 科 技1 / 52连用私有文件云用户手册2015/07目录简述 (4)第一章 PC客户端(LinkAPP Box)使用简介 (5)1.软件下载 (5)2.软件安装 (6)3.初始配置 (7)4.登录 (8)4.1.PC客户端登录 (8)4.2.登陆错误 (10)5.网盘界面操作 (10)5.1.上传下载文档 (10)5.2.打开、编辑文档 (11)5.2.1.沙箱存储方式打开 (12)5.2.2.网络存储方式打开: (16)5.2.3.Web页面方式打开 (16)5.2.4.为什么要使用"本机沙箱"? (17)5.2.5.沙箱具体使用 (17)5.3.发送 (20)5.4.共享 (20)5.5.发布 (21)5.6.右键操作 (21)5.6.1.删除 (21)5.6.2.重命名 (22)5.6.3.移动 (22)5.6.4.复制 (22)5.6.5.新建 (22)5.6.6.取消共享 (22)6.软件界面操作 (22)6.1.同步任务 (22)6.2.一键上传 (25)6.3.系统消息 (26)6.4.设置 (26)6.4.1.常规设置 (26)6.4.2.存储服务模式设置 (27)6.4.3.文件沙箱设置 (27)6.4.4.网络设置 (27)6.4.5.日志设置 (28)6.4.6.同步任务设置 (28)6.4.7.一键上传设置 (28)6.4.8.NAS盘映射设置 (29)6.4.9.窗口属性 (29)第二章 WEB网页版使用简介 (31)1.登录系统 (31)2.退出系统 (31)3.系统主界面介绍 (31)4.LFS基本功能 (32)4.1.我的文件 (32)4.1.1.上传文件 (37)4.1.2.我的共享 (38)4.1.2.1.我共享的文件 (38)4.1.2.2.我发布的外链 (38)4.1.2.3.允许上传的目录 (39)4.1.3.我收到的共享文件 (39)4.1.4.我需要协作的文件 (40)4.1.4.1.协作列表 (40)4.1.4.2.LinkDoc文档 (41)4.1.5.需要我协作的文件 (43)4.1.6.我使用过的文件 (43)4.1.7.回收站 (43)4.2.资料库 (43)4.2.1.界面简述 (43)4.2.2.新建资料库 (44)4.2.3.上传文档和新建 (45)4.2.4.资料库权限设置 (45)4.2.5.在线预览文件 (46)4.2.6.共同编辑同一份文档 (46)4.3.连用邮件 (47)4.4.连用云笔记 (48)4.4.1.新建笔记本 (49)4.4.2.新建笔记 (49)4.5.设置 (49)4.5.1.基本资料 (49)4.5.2.我的消息 (50)4.5.3.操作日志 (50)4.5.4.我的通讯录 (50)4.5.4.1.我的联系人 (50)4.5.4.2.联系人分组 (51)4.5.5.企业通讯录 (51)4.5.5.1.企业联系人 (51)4.5.5.2.企业工作组 (51)4.5.6.全文检索 (52)简述连用私有文件云是专注为企事业单位的非结构化数据文件提供统一存储管理、文件安全管理、内容分类管理以及文件协同应用的私有云文件服务器系统,基于LFS可以建立企事业一站式的文件资源中心和协作应用私有云平台。

lacie-private-public-用户手册

lacie-private-public-用户手册

12
n d o w )s 或 桌 面 上 ( M a c
。)
2.
双 击 “
我 的 电 脑 /
电 ”脑
中 ( W i n d o w )s 或 桌 面 上 ( M a )c 的 “ L A C I
LaCie Private-Public 用户手册
13
”E 图
。标
3.

击 “ L a C i e P r i v a t e P u b l i ”c
lacieprivatepublic用户手册41laprivate常见问题解答laprivate是一个利用强大的高级加密标准aes256来保证最重要数据安全的安全卷
LACIE PRIVATE-PUBLIC 用户手册
单击此处访问最新在线版本
的本文档。在线用户手册具有可扩展图解、更方便的导航和搜索功能。
卷 的 大 。小
7. 单 击 “ N e x
>t ( 下 一
。”)>步 8. 输 入 并 确 认
LaCie Private-Public 用户手册
20
您 的 密 。码 选 中 “ D i s p l a y p a s s w o r d ( 显 示 密 ” )码 对 应 的 复 选 框 将 使 您 能 够 查 看 密 码 字 段 中 的 字 。符
LaCie Private-Public 用户手册
1
简介
使用 LaCie Private-Public 可以创建一个名为 LA-PRIVATE 的受密码保护的卷。创建后,LA-PRIVATE 将使用 AES 256 加密来保证最重要文件的安全。如果您没有 LaCie Private-Public,请从我们的网站 下载安装程序。

Assistant使用说明资料讲解

Assistant使用说明资料讲解

A s s i s t a n t使用说明使用GENEX Assistant 3.5软件分析Log信令1、新建工程:打开GENEX Assistant 3.5,在弹出新建工程窗口中选择LTE,对工程进行命名并选择保存路径:2、导入工参:3、导入LOG:4、解压LOG:解压后弹出窗口:5、KPI指标导出:显示KPI列表:6、阈值设定:修改后:SINR阈值设置:其他指标阈值调整如RSRP、SINR,可根据DT指导文档进行调整;7、调整图层:调整后:8、异常事件分析:将异常事件拖入图层中,右侧图层标示Event Layer中会显示异常事件及对应的出现次数:双击某个异常事件,在弹出的对话框中点击确定,即弹出分析窗口:可根据个人分析习惯对分析窗口进行调整:调整后如下:9、GENEX Assistant后台KPI统计自定义设置操作:以覆盖率为例:项目指标定义覆盖率I RSRP>-110dBm&SINR>-3dB比例1)打开GENEX Assistant新建工程后,点击<Tools>,下拉菜单中选择<custom KPI>,如下图2)进入<custom KPI>界面,点击左下角<Add>,选择点击<counting KPI>,如下图:3)通过设置公式:覆盖率=分子/分母;其中分子={-110dbm<RSRP<0dbm}and{-3db<SINR<50db}的个数;分母={-150dbm<RSRP<0dbm}and{-20db<SINR<50db}的个数设置如下图:分子设置:进行<counting KPI>界面后,在name里命名,然后点击<Add >,进行指标定义,选择下拉菜单<IE>点击<IE>进行里面进行指标 Serving RSRP选择设置,设置好后点击OK。

技嘉BRIXs超迷你电脑套件用户指南说明书

技嘉BRIXs超迷你电脑套件用户指南说明书

Manuals+— User Manuals Simplified.GIGABYTE BRIXs Ultra Compact PC Kit User Guide Home » Gigabyte » GIGABYTE BRIXs Ultra Compact PC Kit User GuideContents1 GIGABYTE BRIXs Ultra Compact PCKit2 Product Information3 Product Usage Instructions4 Safety and Regulatory Information5 Package Contents6 Getting Familiar with Your Unit7 How to Install the M.2 2280 SSD8 Memory Installation9 Wireless Module10 Support 2.5” HDD/M.2 Upgrade Kit11 Documents / Resources11.1 ReferencesGIGABYTE BRIXs Ultra Compact PC KitAt the end of its serviceable life, this product should not be treated as household or general waste. It This device complies with part 15 of the FCC Rules.Memory InstallationWireless ModuleVESA BracketNOTE! The illustrations of the VESA bracket installation shown are for reference only. Please follow the installation steps of actual purchased bracket.: This system does not support the installation of both 2.5″ HDD and the M.2 module here cannot beInstall the upgrade kit drive on the bottom panel and secure with four screws provided, then connect the cable Connect the other end of the cable to the SATA connector on the motherboardReinstall the bottom cover with upgrade kit to system.Note 1 “Exceeding 0.1 wt %” and “exceeding 0.01 wt %” indicate that the percentage content of the restricted substance exceeds thereference percentage value of presence condition.Note 1 “Exceeding 0.1 wt %” and “exceeding 0.01 wt %” indicate that the percentage content of the restricted substance exceeds the reference percentage value of presence condition.Note 2 “○” indicates that the percentage content of the restricted substance doesNote 3 The “ ” indicates that the restricted substance corresponds to the exemption.Documents / ResourcesGIGABYTE BRIXs Ultra Compact PC Kit [pdf] User GuideBRIXs Ultra Compact PC Kit, BRIXs, Ultra Compact PC Kit, Compact PC Kit, PC KitGIGABYTE BRIXs Ultra Compact PC Kit [pdf] User GuideBRIXs Ultra Compact PC Kit, BRIXs, Ultra Compact PC Kit, Compact PC Kit, PC Kit ReferencesTelepathy - Powering Successful BrandsManuals+,。

LucidShape CAA Base Module商业说明说明书

LucidShape CAA Base Module商业说明说明书

PRODUCT FEATURESBase Module Key CapabilitiesFlexible Modeling FeaturesIn the LucidShape CAA Base Module, you can use geometry generated in theLucidShape CAA Design Module, geometry directly created through CATIAfunctionality, or imported geometry. You can then insert light sources andsensors, assign, create, and edit materials and media using a materials/medialibrary, and define simulation settings and analysis preferences. The BaseModule is a prerequisite for all other LucidShape CAA modules.LucidShape CAA functionality is accessible in a variety of ways. Thefunctionality is included in a specific LucidShape workbench, but can also bedirectly accessed through LucidShape CAA toolbars and menus from otherworkbenches such as the Generative Shape Design, Part Design, and Assemblyor Product workbenches. You can easily customize the software to bestsupport your individual workflows and speed the modeling process.LucidShape CAA includes:• Sources: point, plane, cylinder, and ray file• Sensors: candela, luminance camera, ray file, ray history, surface sensorsupporting both lux and lumen sensor materials• Materials/media: compatible with LucidShape actor materials andorganized in a library• Simulation:–Forward simulations–NURBS simulation (mesh free), tessellated simulation (CPU), tessellatedsimulation on GPU–CATIA Design Tables (forward simulation) so you can construct andsimulate design variations quickly. Streamlines the creation of multipledesign forms for a product line•Ability to import measured bi-directional scattering distribution functionLucidShape CAA V5 Based provides the industry’s only complete workflow solution for automotive lighting, design, and visualization within the CATIA V5 environment. Designers who are familiar with CATIA can easily leverage LucidShape’s powerful features to produce, with a minimal learning curve, automotive lighting products that meet performance, styling, visual branding, and regulatory requirements.With LucidShape CAA V5 Based, you also benefit from seamless communication between multi-domain teams with access to a large ecosystem of tools on the CATIA platform.(BSDF) data for precise surface scatter modelingEasy Design Navigation and ManagementModel navigation and management are highly efficient with the LucidShape CAA Specification Tree structure, which keeps all automotive lighting components organized and accessible from a single location — supporting work on individual parts or highly complex assemblies. This infrastructure enables users to quickly understand even the most complex models.Rapid Design VerificationThe software can rapidly and accurately ray trace part-level models or product-level assemblies using tessellated or NURBS simulation methods for comprehensive CATIA-based optical simulations. You can run a simulation on one part while you continue to work on another part in the same project.The software also supports multi-core processing and GPU ray tracing (for tessellated mode only) to further accelerate simulations.Extensive Suite of Analysis ToolsLucidShape CAA V5 Based delivers a wide spectrum of UV data analysis tools, as well as bird’s eye and driver’s views. A large set of test point standardsare included to ensure that your system meets both industry regulations and company specifications. Analysis tools include:• Test tables (ECE, SAE, JIS, user defined)• Special views (bird’s eye view, driver’s view)• A variety of UV data operations (scale, shift, rotate, etc.)• Planar Lux Sensor for quantitative analysis of near-field illuminance• Luminance Camera Sensor to produce high-accuracy luminance images to help you quickly check the appearance of an automotive signal lighting lamp from multiple viewing directions• Ray History Sensor Capability for both Candela Sensor and LuminanceCamera Sensor to provide valuable tools for troubleshooting photometric and appearance issues• Surface Sensor for analyzing illuminance, irradiance, and flux on curved surfaces. You can trace random rays through the system and display theirray paths. This functionality can help you:–V erify light source placement and materials or media setup–Check light source image magnification and/or rotation for specificpoints on the optical surfaces during design work–Check the light spread of optics for interference with other lamp orhousing components–Analyze stray light and glare–Troubleshoot optical systemsExample Model LibraryLucidShape CAA V5 Based provides an extensive collection of example models that enable you to jumpstart model creation and analysis tasks.Design Module Key CapabilitiesPowerful Design ToolsGeometry creation tools that give you the freedom to focus on overall design objectives rather than the implementation details of complex optics have always made LucidShape software unique.The LucidShape CAA V5 Based Design Module provides exceptional, versatile design features from LucidShape integrated into the CATIA environment. The fundamental principle behind most of this functionality is the design-by-function concept, which enables users to create functional geometry based on lighting criteria such as spread angles or target light distributions. This feature set enables optical engineers to focus on creating the beam patterns required (and their superposition) to meet an overall light distribution, rather than on creating the freeform surfaces needed to accomplish them.Combined with CATIA’s extensive CAD modeling capabilities, these features enable users to accomplish their optical design work more efficiently, without repetitive and error prone export/import steps. Your optical model can remainfully parametric and feature based at all times, which enables you to simply update your model for subsequent design iterations.LucidShape CAA design features can also be combined with CATIA features. As a result, the actual trimmed optics are available for simulation from the very beginning of the design. This provides a significant efficiency advantage over working with untrimmed or approximated geometry and having to perform repetitive, time-consuming CAD export/import operations andphotometric validations.Visualize Module Key CapabilitiesStunning, Physics-Based VisualizationPhotorealistic visualization is used in the creative process to evaluate the aesthetics of a lighting design and in the engineering process to evaluate optical feasibility based on uniformity, brightness, and manufacturability. The LucidShape CAA Visualize Module is a CATIA-integrated photorealisticrendering capability that generates stunning, physics-based images of automotive lighting products.Features like the Environment Light Source and the Human Eye Vision Image tool augment the realism in a scene and enable you to virtually evaluate how the human eye will perceive a headlight, tail light, or signal light:• The Environment Light Source allows you to integrate photographicenvironments into a simulation, creating a photorealisticimpression of a scene.• The Human Eye Vision Image (HEVI) tool is a tone mapper that modifies luminance data so that it appears as a human would see the real scene. The LucidShape CAA Visualize Module also supports backward simulations and a luminance camera for fast, accurate analysis of your system’slit appearance.Light Guide Design Module Key CapabilitiesOptimized Light Guide DesignsThe Light Guide Design Module enables you to create and optimize light guidesystems for spatial uniformity and for angular centroid pointing direction. UsingCATIA geometry, the Light Guide Designer can make light guides, add pyramidalprism extractors, add sensors, sources, and other items needed for designinglight guide systems. This tool uses a CATIA spline curve (or a datum curve)to define the light guide path curve, and it uses special techniques to quicklyoptimize the uniformity along the length of the light guide.Adding fillets to a light guide design can be a tedious task, given the typicallylarge number of prisms to consider. The Light Guide Designer includes anautomatic filleting capability to automate this task. You can create and optimizelight guides with fillets that conform to manufacturing constraints, allowing youto achieve better as-built performance.Complete Access to Expert SupportAs a LucidShape CAA customer, you can rely on prompt access to our team of technical support experts, who understand automotive lighting design and engineering. In addition, you have 24/7 access to a customer-dedicated website that contains resources to help you become more productive – including videos, documentation, and example files and models.For More InformationFor more information, please contact Synopsys’ Optical Solutions Group at (626) 795-9101, visit /optical-solutions/ lucidshape/caa-v5-based.html, or send an e-mail to *******************.。

Gitlab使用手册范本

Gitlab使用手册范本

Gitlab使用手册目录一 Gitlab账号/库申请流程 (3)1.1 Gitlab账号申请 (3)1.2 Gitlab库申请 (3)二 Gitlab登录 (3)2.1 Gitlab 访问路径 (3)2.2 Gitlab登录页面 (3)三 Git环境配置 (4)3.1创建公钥 (4)3.1.1 Linux环境 (4)3.1.2 Windows环境 (4)3.1.3 MacOS环境 (7)3.2 Gitlab SSH页面配置 (7)四 Git操作命令 (8)4.1 Git本地仓库操作命令 (8)4.1.1 git init/git clone 初始化库 (8)4.1.2 git status 查看状态 (9)4.1.3 git add 添加文件 (9)4.1.4 git diff 对比文件 (9)4.1.5 git commit 提交更新 (10)4.1.6 git rm 移除文件 (10)4.1.7 git mv 移动文件 (11)4.1.8 git log 查看提交历史 (11)4.1.9 git reset 撤销操作 (12)4.1.10 git branch 创建分支 (13)4.1.11 git merge 分支合并 (13)4.1.12 git conflict 解决冲突 (14)4.1.13 git tag 创建标签 (14)4.2 Git远程仓库关联操作命令 (15)4.2.1 git remote 查看远处仓库 (15)4.2.2 git remote show 查看远程仓库信息 (15)4.2.3 git remote add 添加远程仓库 (15)4.2.4 git fetch 从远程仓库抓数据 (16)4.2.5 git pull 获取最新版本 (16)4.2.6 git push 推送数据到远程仓库 (16)4.2.7 git remote rename/rm远程仓库重命名/删除 (17)一 Gitlab账号/库申请流程1.1 Gitlab账号使用前缀、密码访问即可。

Giab使用手册

Giab使用手册

Gitlab使用手册目录一 Gitlab账号/库申请流程..................................................... Gitlab账号申请.............................................................. Gitlab库申请................................................................二 Gitlab登录................................................................ Gitlab 访问路径.............................................................. Gitlab登录页面..............................................................三 Git环境配置............................................................... 创建公钥...................................................................... Linux环境................................................................... Windows环境................................................................. MacOS环境................................................................... Gitlab SSH页面配置..........................................................四 Git操作命令............................................................... Git本地仓库操作命令......................................................... git init/git clone 初始化库.................................................. git status 查看状态.......................................................... git add 添加文件............................................................. git diff 对比文件............................................................ git commit 提交更新.......................................................... git rm 移除文件.............................................................. git mv 移动文件.............................................................. git log 查看提交历史......................................................... git reset 撤销操作........................................................... 创建分支...................................................................... 分支合并...................................................................... 解决冲突...................................................................... 创建标签...................................................................... Git远程仓库关联操作命令..................................................... git remote 查看远处仓库...................................................... git remote show 查看远程仓库信息............................................. git remote add 添加远程仓库.................................................. git fetch 从远程仓库抓数据................................................... git pull 获取最新版本........................................................ git push 推送数据到远程仓库.................................................. git remote rename/rm远程仓库重命名/删除.....................................一 Gitlab账号/库申请流程Gitlab账号使用邮箱前缀、邮箱密码访问即可。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

私有 giab 使用手册Revised by BLUE on the afternoon of December 12,2020.私有gitlab简易使用手册CESCM编号 密等 日期 作者Mar. 30, 2016 Roy Hu版权声明 。

Copyright 2016 Copyright 商标声明 本书所提到之商标,皆属於原合法注册公司所有。

Trademarks All brand names and product names used in this book are trademarks, registered trademarks, or trade name of their respective holders. 免责声明 。

LIMITATION OF LIABILITY .版本 Revision出版日期 Issue DateDraft mm-dd-yyyy修订记录修订章节 Section Changed出版修订原因 Reason for issueAllDraft Initial备注 Remarks目录找不到图表目录。

图表目录表格目录1 第一章 简介git 是由 Linux kernel 作者 Linus Torvalds 於 2005 年 04 月时所开发的 DVCS,起初是为了取代用以控管目前已高达千万行 Linux kernel source code 的商用 SCM 产品:BitKeeper。

经过多年来的发展,已广泛应用於各大 open source 专案并被许多公司整合入自家产品内,包含微软的开发工具 Visual Studio 或 Google 等。

逐渐取代集中式 VCS 如:CVS、Subversion 或 Microsoft SourceSafe 等。

git 的世界观并非为传统 VCS 的 Client-Server 架构, git 一切的操作 皆围绕在 local 的 repository (版本库) 上。

(事实上, git 并没有所谓的 Server 端)。

而所谓的 Server 其实只是提供远端存取版本库的地方,Server 只需要提供可供 git 程式存取档案的协定即可,不论是:(如 Microsoft Windows 的网路芳邻 SMB UNC 路径)、 Internet 标准的 HTTP/HTTPS 协定、 Secure Shell ( ) 协定 或(少用) git 的设计哲学就是要让开发人员得以去中心化的方式使用操作 SCM,无需 类似其他 SCM 系统还可能需要协调资源并安排系统工程师布署 SCM Server 。

去中心化是 git 或者是其他知名 DVCS 的重要精神概念,也是为了因应管 理分散式开发程式码所带来的挑战,所有的开发人员的电脑 (甚至是多台 Server ) 上都有一份完整的程式码,而不是只有自己所开发的那一部分,解决 以往 CVS 、 Subversion 、 Microsoft SourceSafe 或 Microsoft Team Foundation Server 只要 Server 因故损毁所有心血付诸东流的问题。

其次, git 强大的 merge branch (合并分支) 、 rebase (官方翻译为”衍合”、TortoiseGit 翻译为”变基”) 与冲突管理功能,让单一工程师同时进行多分支 开发 (如同时须维护主分支与开发 Hotfix 分支间的分支切换) 或多人协同开发 同一个专案 (多人多分支) 时得以顺利合并程式码。

Microsoft Windows 上 GUI 版本的 git 程式比较着名的有 GitHub Desktop (不只是能够支援 GitHub 云端版本库,并且支援本地与私有 Server 的版本库操作)、 Atlassian SourceTree 以及 TortoiseGit。

我们将以 SourceTree 以及 TortoiseGit 做示范,。

而 Server 端版本库基础建设我们选用 Ubuntu Linux Server LTS 架设 GitLab Community Edition (GitLab CE)。

选用此方案最主要的考量是 1. GitLab CE 与云端版的 GitLab 功能相当,具备完整团队开发所需的功能,如: Todo list 待办清单、Milestone 开发里程碑标示、tag 打标签等等。

2. 内建 issue tracking system ,无须额外整合。

3. 具有完整权限控管功能。

4. 完成 度高,已获得众多跨国公司、政府机关广泛采用。

本手册目标是提供一个快速入门上手的指南,仅针对单一工程师开发专案做 说明,branch、merge、rebase、冲突管理等更深入的议题还请自行参考网路上 或购买书籍。

以下列示本说明书之图例:图例说明样式视窗双边框、白底,表示视窗Window选单单边框、白底,表示视窗或按下滑鼠右键的选单 Menu分类页签 阴影虚线框,表示视窗中的分类页签Tab视窗项目 15%灰底,表示视窗中出现的选项叙述或文字WindowItem按钮阴影实线框、15%灰底,表示视窗中的按钮ButtonEsc阴影实线框,表示键盘上的按键Key1.1设备现况表格 1 设备现况表2TortoiseGitTortoiseGit 并不是一个单一的视窗程式。

TortoiseGit 整合於 Windows 档案总管的滑鼠右键选单中,这赋予 TortoiseGit 轻便、快速与操作简易的特性。

当然,相对因此带来一些局限性 (比方说提交历程浏览和两个 commit 间的程式码差异比对比较不是那麽的方便,且不能正常显示 Big-5 码,所以我们将会另外再安装 Atlassian SourceTree ),但应付日常工作绝对绰绰有余。

TortoiseGit 只负责 GUI 的操作,并不包含 git 程式,所以要先下载安装git for Windows。

2.1先到下载 git for Windows 适合的版本安装基本上一路按下一步即可成功安装2.2到下载适合的版本安装并下载繁体中文语系安装程式基本上一路按下一步即可成功安装2.3初始化版本库目录利用Windows档案总管找出先前已建立使用的程式码资料夹或者是建立一个资料夹 myprj01,并在该资料夹上按下滑鼠右键选择在此建立版本库)接着出现以下视窗:请勿勾选 Make it BareBare 版本库指的是此指仅能用以 Clone, Push 和 Pull 。

并无法直接对其操作,多半是用於 Server 上制作远端版本库之用。

2.4Commit 提交新增档案或资料夹内已有原始码,可以在该资料夹上按下滑鼠右键选择首次Commit提交目前的程式码接着出现以下画面提交前要先设定提交人员的名字与电子邮件地址提醒您 git 的设定档具有阶层套用概念: System (作业系统层级)> Global(使用者设定档层级) > Local (版本库),较高阶层的设定值会覆写较低阶层的设定值,当您修改好之後可以点选一下 Effective 页签目前被套用的设定值这里我们建议您选择 Global 後输入 User Info 中的 Name 和 Email 後, 按下套用按钮後,选择 Effective 按钮查看现在被套用的值是否如预期一般。

这是提交视窗,一般来说,这可能是你在开发专案时,除了 Compile 指令以外最常用到的功能,看上去很复杂,但事实上你常用就那几个按钮。

Message 处请填写此次提交的内容摘要。

下方的档案窗格会列出尚未被追踪 ( Status 处显示 Unknown ,官方程式则是 unstage ) 以及修改过的档案列表,尚未被追踪的档案前并没有勾选,可以点选档案窗格上方的 Check: All 将所有未被追踪的档案全部勾选起来,当然,如果您有不希望被追踪的档案(如暂存档之类)请取消勾选。

最後按下按钮。

提交成功会出现如上的资讯视窗。

2.5提交时产生新分支在该资料夹上按下滑鼠右键选择窗时,请勾选视窗上方的 new branch 并於左方的空格中输入新分支的名称後按下按钮即可产生新分支。

2.6提交的时机并不是每次修改程式码就马上需要提交,可能是完成某一个模组、某一个Bug 的修改、某一个设定档案的添加才需要做提交,实际提交的条件还是需要依据专案特性与开发小组的政策。

但有时我们会遇到需要切换开发分支的状况, 例如因需要修正前一版的bug ,便需要从目前所在的开发分支切换回前一版开发分支。

但因为我们所在分支可能已经有一些开发进度,但尚未达到可以提交的标准,只是想暂时存放该专案目录的目前状态,以便日後继续编辑 (或是反悔);或者是因为我们因为测试或其他目的需要多存几份程式码的状况,可以利用 stash (官方翻译:储藏、TortoiseGit翻译:保存藏起) 功能。

2.7Stash 储藏在该资料夹上按下滑鼠右键选择出现以下视窗下方有两个互斥选项,请选择 --all 选项会一并将可忽略档案 (可忽略档案的设定还请) 进行储藏。

git 可以拥有多个储藏,是你在测试多份演算法时的好帮手。

2.8切换至某分支/取出某提交在该资料夹上按下滑鼠右键选择出现以下视窗您可以选择 Branch 列表中的分支或者是选择 Commit 某次提交,需要点选该行最右边的按钮,接着会出现以下视窗:选择你要切换/取出的分支或提交後按下如果您选择取出的是某次 commit ,会自动勾选下方的 Create New Branch 并产生新分支,您也可以取消产生新分支。

3Atlassian SourceTreeAtlassian 是 git 云端储存库的母公司,旗下的 SourceTree 广受欢迎,目前有 Windows & Mac OS X 双平台版本可供使用者选用。

SourceTree 是完整的 git 操作程式,可实现 git 完整功能。

以下我们仅会以浏览开发纪录做为示范。

3.1到下载Atlassian SourceTree 免费供大家使用,但使用前须注册一个帐号。

首次启动时还请先依据画面上只是注册一个帐号。

3.2浏览整个专案开启 SourceTree 後,会看到如下的视窗,此时请按下或者是上排选单列中的开启本地端版本库资料夹开启成功後便可看到 commit 的历程记录,只要移动光标或者是滑鼠点选各个 commit 点便可浏览个别的异动细节。

包含各个档案的异动内容。

当然,SourceTree 可以完成所有 git 的工作,值得好好研究。

4 GitLab CE4.1 登入各位的登入权限已经设定完成。

相关文档
最新文档