Pro Git 中文版 第2版 2.1.66签署提交 每个人必须签署 搜索 Git Grep Git 日志搜索 重写历史 修改最后一次提交 修改多个提交信息 重新排序提交 压缩提交 拆分提交 核武器级选项:filter-branch 重置揭密 三棵树 工作流程 重置的作用 通过路径来重置 压缩 检出 总结 高级合并 合并冲突 撤消合并 其他类型的合并 Rerere 使用 Git 调试 文件标注 git status git diff git difftool git commit git reset git rm git mv git clean 分支与合并 git branch git checkout git merge git mergetool git log git stash git tag 项目分享与更新 git fetch git pull send-email git request-pull 外部系统 git svn git fast-import 管理 git gc git fsck git reflog git filter-branch 底层命令 许可证 本作品在“创作共用 署名-非商业性使用-相同方式共享 3.0 未本地化版本 (CC BY-NC-SA 3.0)” 许 可 协 议 下 授 权 。 要 阅 览 该 许0 码力 | 670 页 | 13.59 MB | 1 年前3
Pro Git 中文版 第2版 2.1.6626 $ git config --list user.name=John Doe user.email=johndoe@example.com color.status=auto color.branch=auto color.interactive=auto color.diff=auto ... 你可能会看到重复的变量名,因为 Git 会从不同的文件中读取同一个配置(例如:/etc/gitconfig 检查当前文件状态 可以用 git status 命令查看哪些文件处于什么状态。 如果在克隆仓库后立即使用此命令,会看到类似这样的 输出: $ git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean 这说明你现在的 如果之前并不存在这个文件,使用 git status 命令,你 将看到一个新的未跟踪文件: 31 $ echo 'My Project' > README $ git status On branch master Your branch is up-to-date with 'origin/master'. Untracked files: (use "git add..." to include 0 码力 | 501 页 | 19.30 MB | 1 年前3
git 操作手册有此git仓库的相关信息,初始化后要设置当前工作的用户名等相关信息,否则 使用全局设置 # git status #查看当前工作目录和暂存区的状态 On branch master No commits yet nothing to commit (create/copy files and use "git add" to track) # echo 'print("hello #提交当前工作目录的所有文件到暂存区(add为暂存操 作),命令最后有一个点. # git status #再次查看状态 On branch master No commits yet Changes to be commi�ed: (use "git rm --cached..." to unstage) #查看未暂存的修改,在工作目录增删改文件后,未add的 # git diff --cached #查看未提交的暂存 ★分支操作 分支(branch)的本质其实就是一个提交对象(commit),HEAD是一个指针, 它默认指向master分支,切换分支时就是让HEAD指向不同的分支。每次有新的 提交时,HEAD都会自动指向最新的提交。 0 码力 | 35 页 | 1.69 MB | 1 年前3
Julia 中文文档LTS version of Julia is versioned according to SemVer as v1.0.x; this branch will continue to recieve bugfixes until a new LTS branch is chosen, at which point the v1.0.x series will no longer recieved arguments are evaluated first. In some cases, using ifelse instead of an if statement can eliminate the branch in generated code and provide higher performance in tight loops. Examples julia> ifelse(1 > 2, will use it for URLs which begin with file://. • checkout_branch: The name of the branch to checkout. If an empty string, the default branch of the remote will be checked out. • repository_cb: An optional0 码力 | 1238 页 | 4.59 MB | 1 年前3
Weblate 4.2 用户文档weblate-one weblate-second # Merge QA_4_7 branch: git checkout QA_4_7 git merge weblate-one/QA_4_7 ... # Resolve conflicts git commit # Merge master branch: git checkout master git merge weblates-second/master pushed through a fork. In case it is set, changes are pushed to the upstream repository and chosen branch. For smaller deployments, use HTTPS authentication with a personal access token and your GitHub Weblate tries to detect Subversion repository layout automatically - it supports both direct URLs for branch or repositories with standard layout (branches/, tags/ and trunk/). More info about this is to be0 码力 | 648 页 | 9.34 MB | 1 年前3
Weblate 4.2 用户文档weblate-one weblate-second # Merge QA_4_7 branch: git checkout QA_4_7 git merge weblate-one/QA_4_7 ... # Resolve conflicts git commit # Merge master branch: git checkout master git merge weblates-second/master pushed through a fork. In case it is set, changes are pushed to the upstream repository and chosen branch. For smaller deployments, use HTTPS authentication with a personal access token and your GitHub Weblate tries to detect Subversion repository layout automatically - it supports both direct URLs for branch or repositories with standard layout (branches/, tags/ and trunk/). More info about this is to be0 码力 | 410 页 | 4.56 MB | 1 年前3
Krita 4.x 官方文档中文版 2021-08-06A如果你不懂什么叫做 branch ,我们不推荐你使⽤此⽅式 (请改⽤ 使⽤⽹站的 Edit 模式创建合并请求 ⽅式)。 1. 按照前⾯介绍过的⽅法登录 KDE_gitlab [https://invent.kde.org/] ⽹站,并建⽴你的 fork 。 2. 前往你的 fork ⻚⾯,如前⽂所述,确保 URL 包含你的⽤⼾ 名。 3. 确保你在 master branch 上。 4. 点击 7. 再次点击 Commit… ,这将展开⼀个 commit message ⽂本 框。请填写你修改了什么,并说明原因。 8. 确保设置正确:你必须点击 Create a new branch (branch 名 称为: [⽤⼾名]/[概括更改内容的短语])。在完成更改后,确保勾选 了 Start a new merge request ,否则你事后还要⼿动创建⼀ 个新的合并请求。 9. (左侧的亮绿⾊按钮)。选择你的 fork,然后选 择你在 WebIDE 中创建的 branch 。 注解 如果你不具备在官⽅代码库中执⾏ push 的权限,⼜不⼩⼼在官 ⽅代码库中进⾏了编辑,Gitlab ⽹站不会允许你保存更改 ( Create a merge request 也没有作⽤:因为你依然需要把你的更 改提交到你的 branch ,但如果你不具备 push 权限,你是提交不 了的)。⻚⾯将显⽰下述信息:0 码力 | 1594 页 | 110.95 MB | 1 年前3
Weblate 4.2.1 用户文档weblate-one weblate-second # Merge QA_4_7 branch: git checkout QA_4_7 git merge weblate-one/QA_4_7 ... # Resolve conflicts git commit # Merge master branch: git checkout master git merge weblates-second/master pushed through a fork. In case it is set, changes are pushed to the upstream repository and chosen branch. For smaller deployments, use HTTPS authentication with a personal access token and your GitHub Weblate tries to detect Subversion repository layout automatically - it supports both direct URLs for branch or repositories with standard layout (branches/, tags/ and trunk/). More info about this is to be0 码力 | 411 页 | 4.60 MB | 1 年前3
Weblate 4.2.2 用户文档weblate-one weblate-second # Merge QA_4_7 branch: git checkout QA_4_7 git merge weblate-one/QA_4_7 ... # Resolve conflicts git commit # Merge master branch: git checkout master git merge weblates-second/master pushed through a fork. In case it is set, changes are pushed to the upstream repository and chosen branch. For smaller deployments, use HTTPS authentication with a personal access token and your GitHub Weblate tries to detect Subversion repository layout automatically - it supports both direct URLs for branch or repositories with standard layout (branches/, tags/ and trunk/). More info about this is to be0 码力 | 411 页 | 4.60 MB | 1 年前3
Weblate 4.2.1 用户文档weblate-one weblate-second # Merge QA_4_7 branch: git checkout QA_4_7 git merge weblate-one/QA_4_7 ... # Resolve conflicts git commit # Merge master branch: git checkout master git merge weblates-second/master pushed through a fork. In case it is set, changes are pushed to the upstream repository and chosen branch. For smaller deployments, use HTTPS authentication with a personal access token and your GitHub Weblate tries to detect Subversion repository layout automatically - it supports both direct URLs for branch or repositories with standard layout (branches/, tags/ and trunk/). More info about this is to be0 码力 | 650 页 | 9.34 MB | 1 年前3
共 270 条
- 1
- 2
- 3
- 4
- 5
- 6
- 27













