Skip to content

Git Tools and Hacks

Vlad Dumitrescu edited this page Jul 18, 2014 · 1 revision

Windows checkout issue

As of Git 1.6.5.1 there is a special new feature for windows users. Thanks to Johan ‘t Hart, files and directories starting with a single dot (such as '.git') will now be marked hidden (you can disable this setting with core.hideDotFiles=false in your config) (Issue 288).

Which means if you have this version of git or newer when you checkout, all of the Eclipse project files will be marked as hidden on Windows. This makes them unwritable and causes problems.

Solutions

  • Set the hideDotFiles property in your global git config before you checkout the project. Inside your .gitconfig file should be these lines:

          [core]
                hideDotFiles = false
    
  • Change the clone process so you init a local repo, change the property in just that repository, and then add a remote and pull.

Shell Prompt

See this guide to make git repo information show in your shell prompt.

Something went wrong with that request. Please try again.