LoginSignup
0
1

More than 5 years have passed since last update.

Visual Studio CodeでNo source control providers registerd

Last updated at Posted at 2019-03-16

事象

Visual Studio CodeでGit連携するぞ!!
意気揚々とSource Controlを開いたところ
image.png
"No source control providers registerd."と出る。
(有効なソース管理プロバイダーがありません)

切り分け面倒だからGit Bashでcommit pushするか…と思ったけど
たぶん単純なことだと思いググって直したので投稿。

対処:環境変数にパスを通す

  • 環境変数設定ウィンドウを開く。 (Win10ならスタートメニューにて"環境変数"で検索)
  • ユーザ環境変数のPathを選択して編集押下。
  • C:\Program Files\Git\cmd を新規追加。(パスはインストールした場所による)
  • VSCodeを立ち上げなおすと変更が反映されてる!コミットできるぞ!!

image.png

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