コマンドはそこまで難しくない。 ・インストール $ 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

コメント

このブログの人気の投稿

投稿時間:2021-04-30 23:37:32 RSSフィード2021-04-30 23:00 分まとめ(42件)

投稿時間:2021-07-31 23:31:38 RSSフィード2021-07-31 23:00 分まとめ(32件)

投稿時間:2023-02-05 02:09:04 RSSフィード2023-02-05 02:00 分まとめ(9件)