Instantly share code, notes, and snippets.

Embed
What would you like to do?
Git force pull to overwrite local files
git fetch --all
git reset --hard origin/master
git pull origin master
@akkida746

This comment has been minimized.

Show comment
Hide comment
@akkida746

akkida746 commented Jan 5, 2015

Thanks.

@EMCP

This comment has been minimized.

Show comment
Hide comment
@EMCP

EMCP Jan 14, 2015

this only affects git-tracked files, correct?

EMCP commented Jan 14, 2015

this only affects git-tracked files, correct?

@mentoss

This comment has been minimized.

Show comment
Hide comment
@mentoss

mentoss May 8, 2015

Спасибо! То что надо.

mentoss commented May 8, 2015

Спасибо! То что надо.

@SOSTheBlack

This comment has been minimized.

Show comment
Hide comment
@SOSTheBlack

SOSTheBlack commented Sep 30, 2015

Thanks.

@Nikeshsuwal

This comment has been minimized.

Show comment
Hide comment
@Nikeshsuwal

Nikeshsuwal commented Feb 23, 2016

Thanks.

@ArtemAK

This comment has been minimized.

Show comment
Hide comment
@ArtemAK

ArtemAK commented Jun 15, 2016

Thanks!

@kalljoshua

This comment has been minimized.

Show comment
Hide comment
@kalljoshua

kalljoshua Jul 15, 2016

A lot helpful, thank you.

kalljoshua commented Jul 15, 2016

A lot helpful, thank you.

@nelsonauner

This comment has been minimized.

Show comment
Hide comment
@nelsonauner

nelsonauner commented Jul 19, 2016

👍

@BumbuKhan

This comment has been minimized.

Show comment
Hide comment
@BumbuKhan

BumbuKhan commented Aug 5, 2016

Thanks!

@narthur

This comment has been minimized.

Show comment
Hide comment
@narthur

narthur Aug 15, 2016

You saved me!

narthur commented Aug 15, 2016

You saved me!

@davidjsalazarmoreno

This comment has been minimized.

Show comment
Hide comment
@davidjsalazarmoreno

davidjsalazarmoreno commented Aug 24, 2016

Thanks

@maximzasorin

This comment has been minimized.

Show comment
Hide comment
@maximzasorin

maximzasorin commented Aug 30, 2016

Thanx.

@cesapunar

This comment has been minimized.

Show comment
Hide comment
@cesapunar

cesapunar commented Oct 6, 2016

thanks

@igavdan

This comment has been minimized.

Show comment
Hide comment
@igavdan

igavdan commented Oct 6, 2016

Cool!

@sid-sahani

This comment has been minimized.

Show comment
Hide comment
@sid-sahani

sid-sahani Oct 18, 2016

Best solution... After an hour of fiddling, I reached here. Really a savior !!

sid-sahani commented Oct 18, 2016

Best solution... After an hour of fiddling, I reached here. Really a savior !!

@raphydev

This comment has been minimized.

Show comment
Hide comment
@raphydev

raphydev commented Nov 29, 2016

Thanks

@Seraph2000

This comment has been minimized.

Show comment
Hide comment
@Seraph2000

Seraph2000 Dec 7, 2016

And it works! Thanks so much for sharing!

Seraph2000 commented Dec 7, 2016

And it works! Thanks so much for sharing!

@DKepov

This comment has been minimized.

Show comment
Hide comment
@DKepov

DKepov commented Jan 18, 2017

Thanks!

@jebog

This comment has been minimized.

Show comment
Hide comment
@jebog

jebog commented Jan 25, 2017

Thanks

@Dr-Turner

This comment has been minimized.

Show comment
Hide comment
@Dr-Turner

Dr-Turner Jan 27, 2017

Lifesaver. Thanks!

Dr-Turner commented Jan 27, 2017

Lifesaver. Thanks!

@kkuivenhoven

This comment has been minimized.

Show comment
Hide comment
@kkuivenhoven

kkuivenhoven Feb 6, 2017

Works great. Thanks 😄

kkuivenhoven commented Feb 6, 2017

Works great. Thanks 😄

@albertjimenez

This comment has been minimized.

Show comment
Hide comment
@albertjimenez

albertjimenez Jun 4, 2017

Awesome! Saved my life

albertjimenez commented Jun 4, 2017

Awesome! Saved my life

@linhtc

This comment has been minimized.

Show comment
Hide comment
@linhtc

linhtc Jul 3, 2017

Many thanks

linhtc commented Jul 3, 2017

Many thanks

@anandhans8

This comment has been minimized.

Show comment
Hide comment
@anandhans8

anandhans8 Jul 12, 2017

Awesome! Saved my time.

anandhans8 commented Jul 12, 2017

Awesome! Saved my time.

@tihomirjauk

This comment has been minimized.

Show comment
Hide comment
@tihomirjauk

tihomirjauk commented Oct 25, 2017

Tnx 👍

@DevJY

This comment has been minimized.

Show comment
Hide comment
@DevJY

DevJY Dec 8, 2017

Thanks! :)

DevJY commented Dec 8, 2017

Thanks! :)

@tankywoo

This comment has been minimized.

Show comment
Hide comment
@tankywoo

tankywoo Dec 20, 2017

Thanks.

And the last step git pull origin master is needless. git fetch will sync the objects to local.

tankywoo commented Dec 20, 2017

Thanks.

And the last step git pull origin master is needless. git fetch will sync the objects to local.

@isaacOstler

This comment has been minimized.

Show comment
Hide comment
@isaacOstler

isaacOstler Jan 16, 2018

To you, I wish the most earnest of feelings. Many thanks chaps

isaacOstler commented Jan 16, 2018

To you, I wish the most earnest of feelings. Many thanks chaps

@sundowndev

This comment has been minimized.

Show comment
Hide comment
@sundowndev

sundowndev Jan 22, 2018

t h a n k s m y d u d e

sundowndev commented Jan 22, 2018

t h a n k s m y d u d e

@tobikummer

This comment has been minimized.

Show comment
Hide comment
@tobikummer

tobikummer commented Jan 26, 2018

great 👌

@jeakwon

This comment has been minimized.

Show comment
Hide comment
@jeakwon

jeakwon commented Jan 26, 2018

thanks

@saugatsthapit

This comment has been minimized.

Show comment
Hide comment
@saugatsthapit

saugatsthapit commented Mar 2, 2018

thanks

@davama

This comment has been minimized.

Show comment
Hide comment
@davama

davama Mar 29, 2018

danke 👍

davama commented Mar 29, 2018

danke 👍

@jisooyu

This comment has been minimized.

Show comment
Hide comment
@jisooyu

jisooyu Apr 21, 2018

Great! Many thanks.

jisooyu commented Apr 21, 2018

Great! Many thanks.

@camilamiraglia

This comment has been minimized.

Show comment
Hide comment
@camilamiraglia

camilamiraglia May 28, 2018

Thank you so much!!

camilamiraglia commented May 28, 2018

Thank you so much!!

@joaquinwojcik

This comment has been minimized.

Show comment
Hide comment
@joaquinwojcik

joaquinwojcik Jul 3, 2018

Awesome! Thank you.

joaquinwojcik commented Jul 3, 2018

Awesome! Thank you.

@HoussamYactine

This comment has been minimized.

Show comment
Hide comment
@HoussamYactine

HoussamYactine Jul 10, 2018

Thank you so much

HoussamYactine commented Jul 10, 2018

Thank you so much

@Ericwonne

This comment has been minimized.

Show comment
Hide comment
@Ericwonne

Ericwonne Jul 11, 2018

Thanks a lot. I bet this helped a lot of people.

Ericwonne commented Jul 11, 2018

Thanks a lot. I bet this helped a lot of people.

@Alexiades

This comment has been minimized.

Show comment
Hide comment
@Alexiades

Alexiades commented Jul 26, 2018

Thanks!!

@gistrec

This comment has been minimized.

Show comment
Hide comment
@gistrec

gistrec Jul 27, 2018

😈 😈 😈

gistrec commented Jul 27, 2018

😈 😈 😈

@bheku

This comment has been minimized.

Show comment
Hide comment
@bheku

bheku Aug 1, 2018

3 years on, still helpful.

Thank you.

bheku commented Aug 1, 2018

3 years on, still helpful.

Thank you.

@icosahedron

This comment has been minimized.

Show comment
Hide comment
@icosahedron

icosahedron Aug 6, 2018

3 years and 5 days on, and it's still useful. Gracias.

icosahedron commented Aug 6, 2018

3 years and 5 days on, and it's still useful. Gracias.

@bulunduc

This comment has been minimized.

Show comment
Hide comment
@bulunduc

bulunduc Aug 30, 2018

yeah! thanks! you saved me=)

bulunduc commented Aug 30, 2018

yeah! thanks! you saved me=)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment