0% found this document useful (0 votes)
51 views1 page

Git Cheat Sheet

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
51 views1 page

Git Cheat Sheet

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 1
GIT CHEAT SHEET Gc ‘Clone an existing repository at Create a new local repository gee TERS RS e ERE RS Ee bili TE ERER GE GLE PE bog ot a a on 3 sR os ie = fal: Reh A eal "Ren Ren aE ? ‘eit Coens List all existing branches Create a new tracking branch based on aremote branch, SEER eiee Ggem Fi ea riifg fzg: Fagot re i e 2 i | i ' Download all changes from , but don't integrate into HEAD Download changes and directly merge/integrate into HEAD rae ite ees ite z 5 i g Y Mens ‘Merge into your current HEAD Rebase your current HEAD onto Don'trebase published commits! i -arebase Continue arebase after resolving conics Use your configured merge tol to solve conficts Use your editor to manually solve conflicts and (after resolving) mark file as resolved Discard all local changes in your working ditectory Discard local changes in a specific fle Reverta commit (by producinganew commit with contrary changes) Reset your HEAD pointer to a previous commit and discard all changes since then and preserve all changes as unstaged changes, and preserve uncommitted local changes

You might also like