简体   繁体   English

让 Dropbox 忽略 an.svn 文件夹

[英]Making Dropbox ignore an .svn folder

Want to have the benefits of both Dropbox and SVN, but annoyed that Dropbox syncs the.svn folder?想同时享受 Dropbox 和 SVN 的好处,但对 Dropbox 同步 .svn 文件夹感到恼火?

Then here's how to make Dropbox ignore a specific folder, like an.svn folder, on Windows 7:下面介绍如何让 Dropbox 忽略特定文件夹,例如 Windows 7 上的 .svn 文件夹:

  1. Maybe you already have a.svn folder that you want Dropbox to ignore, but if not, create the.svn folder yourself in the place where you expect SVN to place it.也许您已经有一个您希望 Dropbox 忽略的 .svn 文件夹,但如果没有,请在您希望 SVN 放置它的地方自己创建 .svn 文件夹。
  2. Make a zip file of the.svn folder in question.为有问题的 .svn 文件夹制作一个 zip 文件。
  3. Click the Dropbox icon in the system tray and go to Preferences > Account > Selective Sync...单击系统托盘中的 Dropbox 图标和 go 到首选项 > 帐户 > 选择性同步...
  4. Navigate to the.svn folder and remove the checkmark next to it.导航到 .svn 文件夹并删除它旁边的复选标记。 Then click Update.然后单击更新。
  5. Wait for Dropbox to delete your.svn folder.等待 Dropbox 删除您的 .svn 文件夹。
  6. Unzip the zip file, thus restoring your.svn folder.解压缩 zip 文件,从而恢复您的 .svn 文件夹。

Done.完毕。 Your Dropbox account will now contain an empty.svn folder which will be synced to all your devices.您的 Dropbox 帐户现在将包含一个空的 .svn 文件夹,该文件夹将同步到您的所有设备。 The Windows box you did these steps on will contain the full.svn folder, and it will have a little grey mark on its icon to show that Dropbox is ignoring it.您执行这些步骤的 Windows 框将包含 full.svn 文件夹,它的图标上会有一个灰色标记,表明 Dropbox 正在忽略它。 This slightly convoluted procedure was the only way I could get Dropbox to do what I wanted.这个稍微复杂的过程是我让 Dropbox 做我想做的唯一方法。 Hope it helps someone else.希望它能帮助别人。

Want to have the benefits of both Dropbox and SVN, but annoyed that Dropbox syncs the.svn folder?想同时享受 Dropbox 和 SVN 的好处,但对 Dropbox 同步 .svn 文件夹感到恼火?

Then here's how to make Dropbox ignore a specific folder, like an.svn folder, on Windows 7:下面介绍如何让 Dropbox 忽略特定文件夹,例如 Windows 7 上的 .svn 文件夹:

  1. Maybe you already have a.svn folder that you want Dropbox to ignore, but if not, create the.svn folder yourself in the place where you expect SVN to place it.也许您已经有一个您希望 Dropbox 忽略的 .svn 文件夹,但如果没有,请在您希望 SVN 放置它的地方自己创建 .svn 文件夹。
  2. Make a zip file of the.svn folder in question.为有问题的 .svn 文件夹制作一个 zip 文件。
  3. Click the Dropbox icon in the system tray and go to Preferences > Account > Selective Sync...单击系统托盘中的 Dropbox 图标和 go 到首选项 > 帐户 > 选择性同步...
  4. Navigate to the.svn folder and remove the checkmark next to it.导航到 .svn 文件夹并删除它旁边的复选标记。 Then click Update.然后单击更新。
  5. Wait for Dropbox to delete your.svn folder.等待 Dropbox 删除您的 .svn 文件夹。
  6. Unzip the zip file, thus restoring your.svn folder.解压缩 zip 文件,从而恢复您的 .svn 文件夹。

Done.完毕。 Your Dropbox account will now contain an empty.svn folder which will be synced to all your devices.您的 Dropbox 帐户现在将包含一个空的 .svn 文件夹,该文件夹将同步到您的所有设备。 The Windows box you did these steps on will contain the full.svn folder, and it will have a little grey mark on its icon to show that Dropbox is ignoring it.您执行这些步骤的 Windows 框将包含 full.svn 文件夹,它的图标上会有一个灰色标记,表明 Dropbox 正在忽略它。 This slightly convoluted procedure was the only way I could get Dropbox to do what I wanted.这个稍微复杂的过程是我让 Dropbox 做我想做的唯一方法。 Hope it helps someone else.希望它能帮助别人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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