naitve symlink support on Windows 7+

Does your WIndows version proper use Windows symlinks( reparse points) on Windows 7? Our repositories heavily use symlinks. We would need those to be checked out as Normal Windows symlinks. I know that MSYS-git (which I suspect you are using) does not work with symlinks on Windows.

2 answers

If you don't have Git installed already then the version of Git we can download for you is msysGit, so if that doesn't support the symlinks you need then that wouldn't work. However, SourceTree detects your system installed Git by default and will use that if it finds it (or you can manually specify its location), so if the system Git you have installed supports these symlinks then so should SourceTree, since it performs all of its functionality via calling that Git.

Currently, we run git in a custom version of cygwin. I'd probably have to be a little clever in setting that up because we run git from the bash shell hosted on cygwin. its not a normal dos executable. I'll tinker with it when I get some time. thanks.

Hi,

We are new to Atlassian bitBucket.. We are planning move migrate code from one VCS to Stash. Our current VCS has many symlink and we want to create same symlink in Stash.

I tried creating symlinks using 'ln' utility, below is the scenario i tested;

Scenario1: Created symlink in Dev branch and pushed to Master branch à symlinks were pushed and are integral

                      Made changes in Dev branch, verified cotent is getting updated in below source and destination and then did a commit and again pushed to Master branch à  symlinks were pushed and are integral

                      Made a change in master branch and then pulled to Dev branch à file got removed from the destination symlink directory.

 

Can some one let me know how to manage symlink in stash on windows. Does Bitbucket supports symlinks on windows

 

It looks like with current sourcetree on Windows symlinks work fine, as long as you say:

git config core.symlinks true

The git-for-windows installer checks if the installing user has permission to create symlinks and sets that ` true` if so, but looks like sourcetree doesn't. 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

169 views 3 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you