
説明

ステップ 1: リポジトリを削除して再作成します。
ステップ2: Config.jsonを.gitignoreファイルに追加する
.gitignore の各行は、パターンに一致するファイルまたはファイル セットを除外します。
例:
# 1つのファイルを無視する
config.json ファイル
ステップ3: git add .gitignoreコマンドを実行する
最初のコミットでは、基本的に Untracked から Staged に移動したいのですが、ステージングの場合は、移動するファイルを指定するか、パターンを指定する必要があります。例:
参照:
http://hermit.no/how-to-find-the-best-gitignore-for-visual-studio-and-azure-devops/
https://geohernandez.net/how-to-add-an-existing-repository-into-azure-devops-repo-with-git/