This is a file from the Wikimedia Commons

File:Git operations.svg

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Original file(SVG file, nominally 760 × 621 pixels, file size: 16 KB)

Summary

Description
English: Diagram showing some common Git operations.
Deutsch: Das Diagramm zeigt einige der häufigsten Git Operationen.
Date
Source Own work
Author Daniel Kinzler
SVG development
InfoField
 
The source code of this SVG is invalid due to 3 errors.
 
This W3C-invalid chart was created with Inkscape.
 
 This chart uses embedded text that can be easily translated using a text editor.

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")

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

March 2013

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current20:52, 21 March 2013Thumbnail for version as of 20:52, 21 March 2013760 × 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...

The following 3 pages use this file:

Global file usage

The following other wikis use this file:

Metadata