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個錯誤。
 
向量圖形使用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 已授權您依據自由軟體基金會發行的無固定段落、封面文字和封底文字GNU自由文件授權條款1.2版或任意後續版本,對本檔進行複製、傳播和/或修改。該協議的副本列在GNU自由文件授權條款中。
w:zh:創用CC
姓名標示
此檔案採用創用CC 姓名標示 3.0 未在地化版本授權條款。
您可以自由:
  • 分享 – 複製、發佈和傳播本作品
  • 重新修改 – 創作演繹作品
惟需遵照下列條件:
  • 姓名標示 – 您必須指名出正確的製作者,和提供授權條款的連結,以及表示是否有對內容上做出變更。您可以用任何合理的方式來行動,但不得以任何方式表明授權條款是對您許可或是由您所使用。
您可以選擇您需要的授權條款。

說明

添加單行說明來描述出檔案所代表的內容

在此檔案描寫的項目

描繪內容

檔案來源 Chinese (Taiwan) (已轉換拼寫)

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸使用者備⁠註
目前2013年3月21日 (四) 20:52於 2013年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 使用了這個檔案:

詮釋資料