File:Git operations.svg

页面内容不支持其他语言。
维基教科书,自由的教学读本

原始文件(SVG文件,尺寸为760 × 621像素,文件大小:16 KB)

摘要

描述
English: Diagram showing some common Git operations.
Deutsch: Das Diagramm zeigt einige der häufigsten Git Operationen.
日期
来源 自己的作品
作者 Daniel Kinzler
SVG开发
InfoField
 
SVG的源代码为无效代码,因为发现了3个问题。
 
本W3C无效的矢量图使用Inkscape创作.
 
 此SVG 文件使用了内嵌文本,可以使用任何文本编辑器轻松翻译

Explanation

English: A very brief and incomplete list of the operations shown in the diagram:
git pull
fetches remote changes into the local clone, and merges them into the current working files.
git checkout
replaces the current working files with files from a branch.
git checkout --track
creates a local branch from a remote branch, links them, and replaces the current working files with files from that branch.
git fetch
downloads changes from a remote repository into the local clone
git reset
makes the current branch point to some specific revision or branch.
git reset --hard
makes the current branch point to some specific revision or branch, and replaces the current working files with the files from that branch.
git merge
merges files from a given branch into the current branch.
git push
uploads changes from local branches to the respective remote repositories.
git add
puts current working files into the stage (aka index or cache)
git commit
commits staged changes to a local branch
git commit -a
commits all modified files to a local branch (shorthand for "git add" and "git commit")

许可协议

我,本作品著作权人,特此采用以下许可协议发表本作品:
GNU head 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。
w:zh:知识共享
署名
本文件采用知识共享署名 3.0 未本地化版本许可协议授权。
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
您可以选择您需要的许可协议。

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2013年3月21日 (四) 20:522013年3月21日 (四) 20:52版本的缩略图760 × 621(16 KB)Duesentrieb{{Information |Description=Diagram showing some common git operations. |Source=self made |Date=March 2013 |Author=Daniel Kinzler |Permission= |other_versions= }} Category:Git Category:Computer science diagrams [[Category:D...

以下页面使用本文件:

全域文件用途

以下其他wiki使用此文件:

元数据