コマンドはそこまで難しくない。 ・インストール $ 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-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)