0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Azure DevOps (旧VSTS) でGitが使えなくなったときの対処 (Mac × Sourcetree × Azure DevOps)

Posted at

「Mac × Sourcetree × Azure DevOps (旧VSTS)」でGitを使っているデザイナーです。
Gitのpullもpushもできなくなったのですが、無事解決しました。

結論

Sourcetree側で、以下のようにGitのURLを書き換えると、再びGitが使えるようになりました。

変更前:  
<組織名>@vs-ssh.visualstudio.com:v3/<プロジェクト名>

変更後:
git@ssh.dev.azure.com:v3/<組織名>/<プロジェクト名>

原因 (推測です)

VSTS (Visual Studio Team Services) → Azure DevOps
というように、「MicrosoftのGitのサービス」の名称が変わり、合わせてURLも変更される移行期間のゴタゴタに巻き込まれたのでは、と推測します。
2019年5月9日時点で、Azure DevOps (旧VSTS) のURLは以下の2つが存在する状態のようです。

旧:https://<組織名>.visualstudio.com
新:https://dev.azure.com/<組織名>

まとめ

当記事は、Azure DevOps (旧VSTS) × Sourcetree を使用しているときに生じる問題だと認識しています。Macでしか確認していないので、Windowsで発生するかは確認していません。

GitLab、GitHub、BacklogのGitを使ってきましたが、GitのURLが変わるというのは初めて経験しました。GitのURLが変わるということは、よくあることなのでしょうか?

エンジニアは問題なくGitを使えていて、デザイナー側だけで「なぜかGitが使えない」問題が生じたときは、使っているSourcetreeなどのツールを調べてみるとよさそうですね。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?