jump to navigation

Forced “Get Latest” Using Git January 11, 2012

Posted by kevinbe71 in SCM Tools.
Tags:
trackback

If you’re used to other version control packages you may be familiar with “Get Latest” or forced checkouts etc. Well, Tortoise doesn’t seem to map this type of function… So you’ll have to delete the folder in question, drop to the Git bash command prompt and then type “git reset –hard HEAD” (there are actually 2 dashes here even though it may look like one!). That will make sure you have what’s in source control without any local changes.

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.