File:Git operations.svg

Original file(SVG file, nominally 512 × 375 pixels, file size: 3 KB)

Commons-logo.svg This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

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/TimeDimensionsUserComment
current09:00, 25 August 2024512 × 375 (3 KB)SertionValid svg

The following page uses this file:

Metadata