git
まとまっている。 http://magit.vc/manual/magit.html
M-x magit-init する。Magitバッファには、"In the beginning there was darkness" というメッセージ。 MagitバッファにUntracked filesがリストされているので、適当に選んで、s (staging)する。Staged changesにステージされたファイルが表示される。 u (u…
magitを入れてみた。el-getでのインストールは失敗した。package.el使った。package.elやauto-installも必要なときがある。magit自体は、まだいいかどうかよくわからない。
http://d.hatena.ne.jp/kanonji/20110829/1314596493 に git remote set-url origin git@git.example.com:foo/bar.git とかのコマンドを使う旨書いてあるが、./.git/config に [remote "origin"] url = https://github.com/m-hiyama/hugo-sample.git fetch =…
GitHub gistのコマンドラインツールにRuby製のgistがある。Windowsでもインストールはできる。 > gem install gist Fetching: gist-4.4.2.gem (100%) Successfully installed gist-4.4.2 1 gem installed Installing ri documentation for gist-4.4.2... Ins…
sshじゃなくてhttpsのとき、 http://qiita.com/usamik26/items/c655abcaeee02ea59695 http://d.hatena.ne.jp/idesaku/20120128/1327749355 コマンド git config --global credential.helper cache これは設定はできるが、Windowsではまともに動かない。Windo…
gistの使い方で色々と悩んでいたが、gist-it (https://gist-it.appspot.com/)でほぼ解決。gist-itは次の形のスクリプトでソース埋め込みが出来る。 '<script src="http://gist-it.appspot.com/' + githubのファイルパス名 + '"></script> 驚いたことにホントにこれで出来る! まー、驚くことじゃないが、驚いた。 <html> <head> <title>gist-it</title> </head> <body> <h1>gist-it</h1> </body></html>
git add . これでたいていaddし過ぎ、GUI(source tree)から消すのもありだが、 git reset HEAD ファイル名 で、ステージングエリアから取り除ける。ファイル名を眺めて、.gitignoreを書き換えるのもいい。
http://d.hatena.ne.jp/m-hiyama/20110302/1299029346 以来、しばらく使ってなかった。使えなくなっていた。/c/Installed/msysgit/ 以下に入っているが、パスがいってない。/c/Installed/msysgit/bin/git を直接呼んだら、libiconv-2.dll がないと言う。/c/I…