GitHub で、アプリケーションを公開 No.1
http://github.com/
非公開でなければ無料。
↓
Sign up for GitHub
https://github.com/signup/free
↓
Username : remixgrjp
Email Address は公開される。
https://github.com/remixgrjp
前提環境、バージョンは...▼
« 2013年06月 | メイン | 2013年09月 »
$ ssh-keygen -t rsa -C mymail@domain Generating public/private rsa key pair. Enter file in which to save the key (/home/taro/.ssh/id_rsa): Enter passphrase (empty for no passphrase): ← なし Enter same passphrase again: ← なし Your identification has been saved in /home/taro/.ssh/id_rsa. Your public key has been saved in /home/taro/.ssh/id_rsa.pub. The key fingerprint is: 99:ca:ce:03:cb:4c:74:99:10:4b:fd:33:be:24:c8:99 mymail@domain The key's randomart image is: +--[ RSA 2048]----+ | . . o. | | o . . * E| | + o * o | | . o o + o | | = S o | | + * o . | | = . . | | . | | | +-----------------+ $ ll ~/.ssh total 16 -rw-r--r--. 1 taro apache 162 Jul 4 08:53 config -rw------- 1 taro apache 1675 Jul 3 18:39 id_rsa -rw-r----- 1 taro apache 404 Jul 3 18:39 id_rsa.pub -rw-r--r--. 1 taro apache 2823 Jul 4 08:46 known_hosts●登録する公開鍵文字列
[taro@fitPC2i ~]$ cat ~/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuGuYZe/fw9yuyTZSYqCLKjKGeacAcE5cdSjZg4bdtA9ikPuadyxfvGs/UfJiUye8uTfXufOdF1llBRZSQlMkNNPq+1eet6yigYFuijc/MZ1OsZYPs0fcE9rV7BYYmhpnK89hCmEzs1sd3msM8sh837NhAGkYhwA5pXZaZlOBfcmF7Io12Eeo9tLC+TzrMkLMN6TVAwVPSXI+41qkfTx5/aYc7CLwIUcNubuk5tIh0lpK/6kBAIHD5wWFRWaFAWzc0fMfXk/WTTiPYSKpP4pNHdVS5n1+i/u8HaEVSLdRBQhXEqFDwnD4duHx+wpCNFkQAW68IaJf3ebFN3Ia+muivQ== mymail@domain●自分の github.com/remixgrjp に公開鍵を登録
Create a new repository on the command line touch README.md git init git add README.md git commit -m "first commit" git remote add origin git@github.com:remixgrjp/formmail.git git push -u origin master Push an existing repository from the command line git remote add origin git@github.com:remixgrjp/formmail.git git push -u origin master●その前に、gitconfig 設定...▼
[taro@fitPC2i ~]$ cd ~/web/www/appli/formmail [taro@fitPC2i formmail]$ vi ~/web/www/appli/formmail/README.md [taro@fitPC2i formmail]$ git status # On branch master # Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: README.md # no changes added to commit (use "git add" and/or "git commit -a")コミット前の変更ファイルが認識。次は...▼
[taro@fitPC2i cu]$ git push -u origin master error: The requested URL returned error: 401 Unauthorized while accessing https://git.codebreak.com/remix/cu.git/info/refs fatal: HTTP request failedgit が古い模様。