Links are an awkward beast, along with path mangling (as you mention)...

Do have a look at the FAQs https://git-for-windows.github.io/ (link [1] at the 
top right), and the release notes (in the programme files Git  directory)

There are a few issue reports such as 
https://github.com/git-for-windows/git/issues/885 but it is a bit of a mine 
field

Philip
--
Posted from my XP netbook ! Yay !!
[1] https://github.com/git-for-windows/git/wiki/FAQ (list of pages (alpha 
order) & more [2], on right hand side)
[2] https://github.com/git-for-windows/git/wiki/Symbolic-Links

  ----- Original Message ----- 
  From: Karl Krasnowsky 
  To: Git for human beings 
  Sent: Wednesday, September 28, 2016 11:29 PM
  Subject: [git-users] using ln from git bash on windows.


  Hello. Trying to use the git bash shell to run some sh scripts and hit a snag.
  While ln appears to be supported, it doesn't seem to function properly. For 
example this:




  $ ls
  backend/  web/

  $ ln -s web/src/main ./backend/src/main/webapp/foo
  ln: failed to create symbolic link ‘./backend/src/main/webapp/foo’: No such 
file or directory




  I've verified that web/src/main and./backend/src/main/webapp/ exists but I'm 
getting this error.


  On the other hand, if I simply do this:
  $ ln -s web/src/main ./foo


  it works fine


  it would seem to have something to do with the sub-directory references with 
forward slashes (won't work with backslashes either).


  any ideas? 

  -- 
  You received this message because you are subscribed to the Google Groups 
"Git for human beings" group.
  To unsubscribe from this group and stop receiving emails from it, send an 
email to git-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to