5
3

More than 1 year has passed since last update.

BTP ABAP環境でabapGitを使う

Posted at

はじめに

この記事では、BTP ABAP(トライアル)環境でabapGitを使うための手順について説明します。

前提

  • EclipseにADTがインストールされていること
  • BTP ABAP環境とEclipseが接続されていること
  • abapGitに格納したい開発オブジェクトがあること

手順

  1. abapGitプラグインのインストール
  2. Gitリポジトリの作成
  3. Gitリポジトリとリンク
  4. Gitリポジトリへプッシュ

1. abapGitプラグインのインストール

Help>Install New Softwareをクリックします。
image.png
URLにhttps://eclipse.abapgit.org/updatesite/と入力します。abapGit for ABAP Development Tools (ADT)にチェックを入れ、"Next"をクリックします。
image.png
ウィザードに従ってインストールします。インストール完了後、Eclipseを再起動します。

Window>Show View>Otherをクリックします。
image.png
abapGit Repositoriesを選択します。
image.png
以下の画面が開きます。
image.png

2. Gitリポジトリの作成

GitHubで、"Add a README file"にチェックをつけてリポジトリを作成します。
image.png

3. Gitリポジトリとリンク

abapGit Repositoriesの右上にある+アイコンをクリックします。
image.png
2.で作成したGitリポジトリのURLを入力します。
image.png
PackageにGitリポジトリとひもづけるパッケージを入力します。
image.png
選択したパッケージが一覧に追加されます。
image.png

4. Gitリポジトリへプッシュ

パッケージを右クリックし、"Stage and Push"をクリックします。
image.png
以下のウインドウが開きます。
image.png
コミットしたいオブジェクトをドラッグ&ドロップでStaged Changesエリアに持っていきます。
image.png
Commit Messageを入力し、"Commit and Push"ボタンをクリックします。
image.png
Gitの認証情報を聞かれるので、入力します。
image.png
ポップアップが出たらOKをクリックします。
image.png
Gitリポジトリで結果を確認します。
image.png

参考

5
3
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
5
3