Pro Git 2nd Edition 2.1.413Summary Git Basics Getting a Git Repository Initializing a Repository in an Existing Directory Cloning an Existing Repository Recording Changes to the Repository Checking the Status of Your Files The HTTP Protocols The SSH Protocol The Git Protocol Getting Git on a Server Putting the Bare Repository on a Server Small Setups Generating Your SSH Public Key Setting Up the Server Git Daemon Smart Pull Requests GitHub Flavored Markdown Keep your GitHub public repository up-to-date Maintaining a Project Creating a New Repository Adding Collaborators Managing Pull Requests Mentions and Notifications0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Summary Git Basics Getting a Git Repository Initializing a Repository in an Existing Directory Cloning an Existing Repository Recording Changes to the Repository Checking the Status of Your Files The HTTP Protocols The SSH Protocol The Git Protocol Getting Git on a Server Putting the Bare Repository on a Server Small Setups Generating Your SSH Public Key Setting Up the Server Git Daemon Smart Pull Requests GitHub Flavored Markdown Keep your GitHub public repository up-to-date Maintaining a Project Creating a New Repository Adding Collaborators Managing Pull Requests Mentions and Notifications0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 2nd Edition 2.1.413Getting a Git Repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Recording Changes to the Repository . . . . of cases you’ll encounter most often. After reading this chapter, you should be able to clone a repository, see what has happened in the history of the project, modify files, and contribute changes. If clients don’t just check out the latest snapshot of the files; rather, they fully mirror the repository, including its full history. Thus, if any server dies, and these systems were collaborating via0 码力 | 501 页 | 17.96 MB | 1 年前3
Gitea v1.21.1 中文文档:gitea-dump- [timestamp].zip)。 --tempdir path , -t path :指定临时目录的路径。可选。(默认值:/tmp)。 --skip-repository , -R :跳过仓库的导出。可选。 --skip-custom-dir :跳过自定义目录的导出。可选。 --skip-lfs-data :跳过LFS数据的导出。可选。 --skip-attachment-data 已废弃,请使用 GITEA_WORK_DIR 替代 GOGS_CUSTOM : 已废弃,请使用 GITEA_CUSTOM 替代 USER :Gitea 运行时使用的系统用户,它将作为一些 repository 的访问地址的一部分 USERNAME : 如果没有配置 USER , Gitea 将使用 USERNAME HOME : 用户的 home 目录,在 Windows 中会使用 releases,repo.issues,repo.pulls,repo.wiki,repo.projects,repo.packa Overall ( DEFAULT ) 仓库 ( repository ) 配置说明 - 87 - 本文档使用 书栈网 · BookStack.CN 构建 ges: 逗号分隔的默认新仓库单元列表。允许的值是:: [repo.code, repo.releases0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66基础 如果你只想通过阅读一章来学习 Git,那么本章将是你的不二选择。 本章涵盖了你在使用 Git 完成各种工作时将 会用到的各种基本命令。 在学习完本章之后,你应该能够配置并初始化一个仓库(repository)、开始或停止跟 踪(track)文件、暂存(stage)或提交(commit)更改。 本章也将向你演示了如何配置 Git 来忽略指定的文 件和文件模式、如何迅速而简单地撤销错误操作、如何浏 如果你对架设自己的服务器没兴趣,可以跳到本章最后一节去看看如何申请一个代码托管服务的帐户然后继续下 一章,我们会在那里讨论分布式源码控制环境的林林总总。 一个远程仓库通常只是一个裸仓库(bare repository)——即一个没有当前工作目录的仓库。 因为该仓库仅仅 作为合作媒介,不需要从磁盘检查快照;存放的只有 Git 的资料。 简单的说,裸仓库就是你工程目录内的 .git 子目录内容,不包含其他资料。 选项。 按照惯例,裸 仓库的目录名以 .git 结尾,就像这样: $ git clone --bare my_project my_project.git Cloning into bare repository 'my_project.git'... done. 现在,你的 my_project.git 目录中应该有 Git 目录的副本了。 整体上效果大致相当于 $ cp -Rf my_project/0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66如果你只想通过阅读一章来学习 Git,那么本章将是你的不二选择。 本章涵盖 了你在使用 Git 完成各种工作时将会用到的各种基本命令。 在学习完本章之 后,你应该能够配置并初始化一个仓库(repository)、开始或停止跟踪 (track)文件、暂存(stage)或提交(commit)更改。 本章也将向你演示 了如何配置 Git 来忽略指定的文件和文件模式、如何迅速而简单地撤销错误操 作 如果你对架设自己的服务器没兴趣,可以跳到本章最后一节去看看如何申请一 个代码托管服务的帐户然后继续下一章,我们会在那里讨论分布式源码控制环 境的林林总总。 一个远程仓库通常只是一个裸仓库(bare repository)——即一个没有当前 工作目录的仓库。 因为该仓库仅仅作为合作媒介,不需要从磁盘检查快照; 存放的只有 Git 的资料。 简单的说,裸仓库就是你工程目录内的 .git 子目录 内容,不包含其他资料。 选项。 按照惯例,裸仓库的目 录名以 .git 结尾,就像这样: $ git clone --bare my_project my_project.git Cloning into bare repository 'my_project.git'... done. 现在,你的 my_project.git 目录中应该有 Git 目录的副本了。 整体上效果大致相当于 $ cp -Rf my_project/0 码力 | 670 页 | 13.59 MB | 1 年前3
git 操作手册★普通用户登录并创建项目 普通用户首次登录要求修改密码,然后再次登录 创建一个名为pro-1的项目(仓库) ★允许客户端push到main分支 Se�ngs→Repository→Protected branches 勾选“Allowed to force push” 客户端上传分支代码: # cd ~/testgit0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1













