1
2

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.

GitHub使ってみた

1
Posted at

会社でGituHubなるものを使うので、試してみた。

GitHubとは

 ・ソフトウェア開発プロジェクトのためのソースコード管理サービス
 ・バージョン管理を行う

専門用語

 いろいろある。

 まずは、リポジトリ(変更を保存する場所)についてである。

 ・リモートリポジトリ:サーバ、ネットワーク上にある
 ・ローカルリポジトリ:リモートリポジトリとの間でやり取り
 ・ローカル:作業場、ローカルリポジトリとやり取り

 次に操作名であるが、以下のとおりである。

 ・コミット:ローカルからローカルリポジトリへ変更履歴を保存
 ・プッシュ:ローカルリポジトリからリモートリポジトリへ変更履歴を保存
 ・プル:リモートリポジトリからローカルリポジトリへデータ取得

 他にはブランチというものがある。
 難しいので簡単に説明すると、
「複数のバージョン管理を並行して行う機能」
 といった感じである。

以下のサイトがとても参考になる。
https://techacademy.jp/magazine/6235#sec6

GitHubの使い方

基本的には以下のような流れである。
 1. リポジトリの複製(Git Clone)
 2. ブランチ作成
 3. ブランチへ移動
 4. ファイル作成、編集
 5. コミット
 6. プッシュ
 7. プル

まとめ

 実際に使ってみたが、まだまだ覚えきれないところが多い。
 次のGitHub記事ではより深いところまで伝えられるよう勉強してこう…

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?