Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Git
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Operations=== ====Cloning==== '''Cloning''' is the process of copying an existing Git repository via the Git tooling. ====Checkout==== A '''checkout''' copies a local branch (version of the last commit of this branch) into the working directory and set the [[Git#Head|HEAD]] accordingly. This can include deletion of files or directories which are part of the current branch but not of the branch to be checkout (commands see [[Git#Checkout_a_branch|here]]). ====Fetch==== The git '''fetch''' command downloads commits, files, and refs from a remote repository into your local repo (it does not merge anything with local changes). Fetching is what you do when you want to see what everybody else has been working on (see [[Git#Fetch_everything_from_Remote|here]]). ====Merge==== There are different methods to merge: * fast-forward (pointer just been moved forward) * recursive strategy (creates a merge commit) In case that the branches to merge are changed in different directions the merge will result in a new '''merge commit'''. ====Pull==== A git '''pull''' does a git '''fetch''' followed by a git '''merge''' (a fetch does not change the working directory). ====Push==== '''Pushing''' means sending a new version of the local repository to a remote repositories. [[File:GitProcess_1.JPG|400px]] [[File:nWYnQ.png|400px]] ====Stash==== Stashing takes the dirty state of your working directory — that is, your modified tracked files and staged changes — and saves it on a stack of unfinished changes that you can reapply at any time (even on a different branch).
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width