How to Wipe SourceTree Preferences

お困りですか?

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

コミュニティに質問

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

目的

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
最終更新日: 2018 年 10 月 16 日

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

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