開発コードはネット上に置いてどこでもデバッグできる様にしよう!!
■Gitアカウントの作成
https://github.com/
アカウント名+パスワードを覚えておきます。
以下のリポジトリ名でソース管理できます。
https://github.com/<アカウント名>/<リポジトリ>.git
■githubレポジトリの作成
githubのメニューから作成しておきます。
■ローカルディスクの登録
開発フォルダ全体を登録します。
$ git init
$ git remote add origin https://github.com/<アカウント名>/<リポジトリ>.git
$ git push -u origin master
■差分の登録
こまめにcommitして管理します。
$ git add .
$ git commit -m "<編集内容>"
$ git push
■環境の取り出し
出先を問わずにソースの取り出し
$ mkdir xxxx
$ cd xxxx
$ git init
$ git clone https://github.com/<アカウント名>/<リポジトリ>.git
■Gitアカウントの作成
https://github.com/
アカウント名+パスワードを覚えておきます。
以下のリポジトリ名でソース管理できます。
https://github.com/<アカウント名>/<リポジトリ>.git
■githubレポジトリの作成
githubのメニューから作成しておきます。
■ローカルディスクの登録
開発フォルダ全体を登録します。
$ git init
$ git remote add origin https://github.com/<アカウント名>/<リポジトリ>.git
$ git push -u origin master
■差分の登録
こまめにcommitして管理します。
$ git add .
$ git commit -m "<編集内容>"
$ git push
■環境の取り出し
出先を問わずにソースの取り出し
$ mkdir xxxx
$ cd xxxx
$ git init
$ git clone https://github.com/<アカウント名>/<リポジトリ>.git
0 件のコメント:
コメントを投稿