LoginSignup
1
1

More than 3 years have passed since last update.

ローカルの git リポジトリを Azure DevOps に乗せる

Last updated at Posted at 2020-12-20

ローカルで作り始めた git リポジトリが順調に育って、これで行こう、そろそろ Azure DevOps に乗っけよう、という気になったときの手順です。

まず、Azure DevOps に空のリポジトリを作ります。

  1. Azure DevOps の Project の Repos を開く。
  2. リポジトリのドロップダウンメニューの中の New repository をクリックする。
  3. Create a new repository ウィンドウで、
    • Repository name を適宜入力する。
    • Add a README to describe your repoistory をチェック "しない"
    • Add a .gitignore:None を選択する。
  4. Create をクリックする。

リポジトリ作成後の画面で次の作業が指示されます。

  • Clone to your computer
  • or push an existing repository from command line
  • or import a repository
  • or initialize with a README or gitignore

今回の場合は2番目になります。コマンドラインから remote add して push です。

1
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
1
1