Stash is now known as Bitbucket Server.
See the

Unknown macro: {spacejump}

of this page, or visit the Bitbucket Server documentation home page.

[Security vulnerability CVE-2014-9390] If you are running a Git client older than 1.8.5.6, 1.9.5, 2.0.5, 2.1.4 or 2.2.1 (all released ), you should upgrade Git as soon as possible.

Stash サーバーはこの脆弱性の影響を受けません。

See also this Atlassian blog post: Securing your Git server against CVE-2014-9390.

このページには次の方法が記載されています:

このページの情報は、ローカルコンピューターまたは Stash サーバー上での Git のインストールまたはアップグレードが対象となります。

Git のバージョンを確認する

Stash がサポートする Git のバージョンについては、サポートされるプラットフォームに記載されています

You can check your current version of Git by running the git --version command in a terminal (Linux, Mac OS X) or command prompt (Windows).

例:

git --version 
git version 2.2.1

サポートされるバージョンの Git がない場合は、Git をアップグレードするか、以下の方法でフレッシュインストールを実行する必要があります。

Linux で Git をインストールまたはアップグレードする

パッケージマネージャを使用して Git をインストールします。例えば、Ubuntu 13.10 の場合:

sudo apt-get install git

If you are using a different Linux distribution, you may need to use a different package repository to get the latest stable version of Git. Alternatively, download the latest stable Git release from the Git website. If you need the most recent version of Git, you might need to install it from source.

次に、Git のバージョンを確認 - Git の新しいバージョンが表示されます。

If you still can't see the Git version, you may need to add the Git install location to your path. Open your ~/.profile file in a text editor and add this line, where <path/to/git> is the install location for Git:

export PATH=$PATH:<path/to/git>

You can use the which git command to find the install location for Git.

Mac OS X で Git をインストールまたはアップグレードする

Download the latest stable Git release from the Git website. Click on the downloaded .dmg file, then double-click the .pkg icon to run the installer. This will install the new version of Git over the existing version:

次に、Git のバージョンを確認 - Git の新しいバージョンが表示されます。

If you still can't see the Git version, you may need to add the Git install location to your path. Open your ~/.profile file in a text editor and add this line, where <path/to/git> is the install location for Git:

export PATH=$PATH:<path/to/git>

You can use the which git command to find the install location for Git.

Windows で Git をインストールまたはアップグレードする

Download the Full installer for official Git for Windows (choose the Git-#.#.#-previewYYYYMMDD.exe, not the file with PortableGit or netInstaller in the name). Installing Git for Windows (msysGit) also installs a supported version of Perl.

(warning) msysGit は、Windows の Stash において唯一サポートされるディストリビューションです。Cygwin Git はサポート対象外で、既知の問題があります。

Run the Git installer, ensuring that you install into the same location as any existing Git installation. You can use where git to locate existing installations.

Ensure that git.exe is available in the path:

  • Choose either Option 2, "Run Git from the Windows Command Prompt", or Option 3, "Run Git and included Unix tools from the Windows Command Prompt", will both work with Stash.
  • Do not select Option 1, "Use Git Bash only" when installing or upgrading Git for the Stash server -- this will not work with Stash.

次に、Git のバージョンを確認 - Git の新しいバージョンが表示されます。

Windows may need to be restarted

If you have successfully installed msysgit but you receive the error "Unable to find git!" while you are installing Stash, you should abort the installation, restart the Windows server, and start the Stash installation again.

必要に応じて Stash を再起動する

ローカルコンピューターではなく Stash サーバー用に Git をインストールまたはアップグレードした場合、 Git のアップグレードされたバージョンを選択するためにStash を停止し、再起動する必要があります。 詳細は「Stash の起動と終了」を参照してください。

 

  • ラベルなし