Onga inc

subtitle

Gitの使用方法を解説

Git-Logo-2Color

Gitアカウント

最近のプロジェクトではマストなgit.hubを使用する方法を解説します。
まずは、github.comでアカウントを作成しましょう。
https://github.com/

クライアウトソフト

クライアウトソフトにはsourcetreeを使用します。
お好みにより好きなクライアントソフトを使用する事ができます。

http://www.sourcetreeapp.com/

Gitがインストールされているか確認

`
git --version 
`

すべてのファイルと変更をステージング領域に追加

`
git add
`

ファイルのコミット

first commitという名前でcommitされる

`
git commit -m "first commit"
`

masterにpushする

first commitという名前でcommitされる

`
git push -u origin master
`

リポジトリを作成する

`
cd <リポジトリを作成するディレクトリ>
git init
`

リポジトリの複製を作る

`
git clone <複製したいリポジトリのURL>
git init
`

Onga

A designer, developer and entrepreneur. Spends his time travelling the world with a bag of kites. Likes journalism and publishing platforms.

Comments