コマンドはそこまで難しくない。 ・インストール $ sudo apt-get install git ・初期設定 $ git config --global user.name "user" $ git config --global user.email "user@mail.com" ・ローカルリポジトリ作成 $ mkdir -p tool/github/ $ cd tool/github/ $ git init ・GitHub登録 $ git remote add master GitHubのリポジトリURL ・リモートからのPull $ git pull GitHubのリポジトリURL ・ローカルリポジトリのファイルへの追加とコミット $ touch README $ git add README $ git commit -m 'first commit' matarain@websrv01:~/tool/github$ git push -u remote master Microsoft account

コマンドはそこまで難しくない。 ・インストール $ sudo apt-get install git ・初期設定 $ git config --global user.name "user" $ ...
=======================================
コマンドはそこまで難しくない。

・インストール
$ sudo apt-get install git

・初期設定
$ git config --global user.name "user"
$ git config --global user.email "user@mail.com"

・ローカルリポジトリ作成
$ mkdir -p tool/github/
$ cd tool/github/
$ git init

・GitHub登録
$ git remote add master GitHubのリポジトリURL

・リモートからのPull
$ git pull GitHubのリポジトリURL

・ローカルリポジトリのファイルへの追加とコミット
$ touch README
$ git add README
$ git commit -m 'first commit'

matarain@websrv01:~/tool/github$ git push -u remote master

http://ift.tt/1abnmbU
February 28, 2016 at 10:25AM

コメント

このブログの人気の投稿

投稿時間:2020-07-01 05:34:30 RSSフィード2020-07-01 05:00 分まとめ(37件)

投稿時間:2020-07-01 20:43:40 RSSフィード2020-07-01 20:00 分まとめ(81件)

投稿時間:2020-07-01 08:33:22 RSSフィード2020-07-01 08:00 分まとめ(49件)