Jump to content

File:Git operations.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 512 × 375 pixels, file size: 3 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
 
This chart was created with 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

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current17:00, 25 August 2024Thumbnail for version as of 17:00, 25 August 2024512 × 375 (3 KB)SertionValid svg
16:57, 25 August 2024Thumbnail for version as of 16:57, 25 August 2024512 × 375 (3 KB)SertionDocument size
16:56, 25 August 2024Thumbnail for version as of 16:56, 25 August 2024512 × 361 (3 KB)SertionDocument size
16:56, 25 August 2024Thumbnail for version as of 16:56, 25 August 2024512 × 388 (3 KB)Sertionre-align "commit -a"-box
16:53, 25 August 2024Thumbnail for version as of 16:53, 25 August 2024512 × 388 (3 KB)SertionCorrect clip-path usage
16:51, 25 August 2024Thumbnail for version as of 16:51, 25 August 2024512 × 388 (3 KB)SertionAlign boxes and texts
20: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 2 pages use this file:

Global file usage

The following other wikis use this file:

Metadata