How to Wipe SourceTree Preferences

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

目的

In the event that some problem has happened with SourceTree due to a preference setting which shouldn't be set as it should then you may have to totally wipe your preferences. This is a very rare problem to happen and is usually due to a config being set outside of SourceTree, or some system environment setting that could be causing issues with other configurations leading SourceTree to crash.

Please note that wiping the preferences will mean you will lose your bookmarks and view settings. Please back these up in the event that wiping your preferences isn't the cause of the problem.

If wiping your preferences does solve the problem you may have to re-add your bookmarks once again and specify other general settings in SourceTree.

ソリューション

Mac

The following files need to be deleted after they've been backed up.

  1. Make sure SourceTree is closed.
  2. Make sure the files are backed up in the following folders before removing the files
  3. Remove everything in ~/Library/Application Support/SourceTree/
  4. If you're using an OS X version before Mavericks: Remove ~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist (you should be using the direct version of SourceTree, hence "NotMAS")
  5. If you're using Mavericks or later, run the following in the terminal defaults delete com.torusknot.SourceTreeNotMAS
  6. Open SourceTree again to test if it worked or not.

If this didn't fix your problems then close SourceTree and restore the files, then re-open SourceTree again (if at all possible).

Windows

  1. Make sure SourceTree is closed
  2. Make sure the files are backed up in the following folders before removing the files
  3. Remove files "bookmarks.xml", "opentabs.xml", "userhosts" in C:\Users\<username>\AppData\Local\Atlassian\SourceTree\
  4. Remove file in C:\Users\<username>\AppData\Local\Atlassian\SourceTree.exe<random_string>\<version_number>\user.config
  5. Open SourceTree again to test if it worked or not.

If this didn't fix your problems then close SourceTree and restore the files, then re-open SourceTree again (if at all possible).

説明

In the event that some problem has happened with SourceTree due to a preference setting which shouldn't be set as it should then you may have to totally wipe your preferences. This is a very rare problem to happen and is usually due to a config being set outside of SourceTree, or some system environment setting that could be causing issues with other configurations leading SourceTree to crash.

製品SourceTree
最終更新日: 2025 年 1 月 29 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.