MoinQ:

DNS/luadns/gitについて、ここに記述してください。

https://github.com/ToshinoriMaeno/luadnsconf.git

参考: http://www.atmarkit.co.jp/fjava/rensai4/scrum05/02.html

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 https://github.com/ToshinoriMaeno/luadnsconf.git
git push -u origin master

Push an existing repository from the command line

git remote add origin https://github.com/ToshinoriMaeno/luadnsconf.git
git push -u origin master

1. 更新

tmaeno@:~/git$ cp ../luadnsconf/* luadnsconf/
tmaeno@:~/git$ ls
luadnsconf
tmaeno@:~/git$ ls
luadnsconf
tmaeno@:~/git$ cd luadnsconf/
tmaeno@:~/git/luadnsconf$ ls
README  README.md  hayamiz.com.lua  supico.info.lua
tmaeno@:~/git/luadnsconf$ git add README
tmaeno@:~/git/luadnsconf$ git add hayamiz.com.lua
tmaeno@:~/git/luadnsconf$ rm supico.info.lua 

tmaeno@:~/git/luadnsconf$ ls

README  README.md  hayamiz.com.lua

tmaeno@:~/git/luadnsconf$ git commit

[master cc0ca49]        new file:   README      new file:   hayamiz.com.lua
 2 files changed, 22 insertions(+)
 create mode 100644 README
 create mode 100644 hayamiz.com.lua

tmaeno@:~/git/luadnsconf$ git push -u origin master

Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 672 bytes, done.
Total 4 (delta 0), reused 0 (delta 0)
To https://github.com/ToshinoriMaeno/luadnsconf.git
   fd8a67a..cc0ca49  master -> master
Branch master set up to track remote branch master from origin.

2. 更新の手続き

git commit   (編集のコメント)
git push

$ git push -u origin master

Username for 'https://github.com': ToshinoriMaeno
Password for 'https://ToshinoriMaeno@github.com': 
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 244 bytes, done.
Total 2 (delta 1), reused 0 (delta 0)
To https://github.com/ToshinoriMaeno/luadnsconf.git
   77a1c37..0d45ecc  master -> master
Branch master set up to track remote branch master from origin.

3. luadns.com

domains には反映されているのだが。

https://api.luadns.com/domains/postdns.net