0% found this document useful (0 votes)
105 views

Git GitHub Notes PDF

Uploaded by

R Mishra
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)
105 views

Git GitHub Notes PDF

Uploaded by

R Mishra
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/ 4
seni: AN tts) when the curyent ( branch 1S master Loca\o HEAD [master | [mastery ie , ey $y i master 9! tr ter . Git pull Updates le current HEAD branch wi | the Pees va | fem remote | (Cu | toboy. This branch is Unchangel v This is came aS: Qit Fetch origyn Qit rnerge onignn/ master q ee teens oe Femme Sm emer Cmte me wunen fre yavvenk ram cl x6 abla Locale ed - verno rrard Ona) /4o04 git ch Me \ a, fy a ce a ¥ Same os: git fetch onigin = git pull 4 update a bromcht BE rey —J git push . ansFers Yo Vit push Bis Cor i se h Your OCA vepo at PUSH > = => Sete upstream the -u oa) Sets up the assouat'on between Your branch + the remote branch explicitly you don't need i+ once You've done | ® a push Coranch % -- force dau Force she push. even if it results i” anon. fas} -Fonuard oe dush nove + push ! OB wos origin ‘bby s " B git push --all push all of youre ee toca! wranches | 8 CD ° Now the {alzoy tovanch on local + yemote ove Sync | pecapade eLOcal » HEAD| tabby ¥ Wenge is like having 2 parents + 1 yesulting child ! # yebvase adds al now As on top of one | pavent j Y, 9it mirge incerpoyates Changes into the Crrvent b @ Git veloase moves @ pyamch from one commit +0 ander 0 Locals HEAD| tabby |e-—— C5.Dy Ep-Zy cB | ye & e en TE you watt to vewaae fram the yemete mic vee of local, do either + CP Ss pull - 4 git Fetdn ovigin + ae ve loase ongin / moster -yepase oviain waster A go? 2 \ers 0 es C1 oat ne Be ‘pave WOIt Chervy-pick lets You Grab Some commits @atrie_mac From one vvanch + apply, tt uiciomminenes Local » Heap [Fob y| rec * Eytey- wy -By SHar$. £34643 desaac dto03a. «~ Checksum 7 = y-tiy- Ny 5 Sy al pee) Voth potas e346d3 degaac ae4ecd, 470030 Commit @3Ubd@ i Aurhov: Lutle-prinss Leta | Date + Sum Sept 2> (1:30- 42 201¥ -0700 rl pda tpody 1 Commit degrac ; t Purhov; Jamie “@ Cot > Dore = See ities eS inte the Simpler (09 with: Sapna - e3ubds Add body (6 desrac Edft nose y . ae secs Add gray dot on i | ‘

You might also like