简体   繁体   中英

Git Symlinks - Windows Workstation - Linux Server

I do PHP development on a Windows 7 workstation using Netbeans. Netbeans sychronizes files with a remote Linux server that is where the code is executed. If I change branches, and there's a new symlink, Netbeans will upload the text file to my remote server, which breaks the symlink. Is there a way to have git ignore symbolic links altogether? Perhaps a different solution altogether?

I would suggest a real filesystem that supports symlinks, windows isn't well known for mounting other file systems I'm afraid.

Maybe you could run a virtualbox VM and use the Shared File-system option. Otherwise Netbeans surely also includes the ability to mount a remote unix filesytem..

In fact WinSCP can do that for you I believe but it seems like such a pain.

Of course you could just run Netbeans on linux or OSX. I highly recommend mint cinnamon to all my developers and only one of 9 (and counting) has reverted to win7. They love their sshfs connections direct to the dev servers ;-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM