git
要は、sshでpushする時は公開鍵暗号通信するよね。 その時に、ssh-agentに登録しておくと、毎回マスワードやらパスフレーズを入力する手間が省けるでござんす。 以下はその例。ssh-agentの起動方法がevalで評価しているところに注意。 $ git push origin mas…
http://stackoverflow.com/questions/13306435/repository-access-denied-access-via-a-deployment-key-is-read-onlyFirst confusion on my side about where to set SSH Keys in BitBucket. I am new to BitBucket and I was setting a Deployment Key whic…
これを理解すれば、gitになんの抵抗もなくなる。 http://git-scm.com/book/ja/ http://git-scm.com/book
to get all branches git branch -ato get remote branches git branch -r http://gitready.com/intermediate/2009/02/13/list-remote-branches.html
リモートへのプッシュあなたのプロジェクトがみんなと共有できる状態に達したら、それを上流にプッシュしなければなりません。そのためのコマンドが git push [remote-name] [branch-name] です。master ブランチの内容を origin サーバー (何度も言いますが…
"git branch" should show all the local branches of your repo. The starred branch is your current branch.http://stackoverflow.com/questions/6245570/get-current-branch-nameGit-のブランチ機能-ブランチの管理
大変わかりやすく纏められていて、参考にさせていただきました。git reset についてもまとめてみる
ローカルで ファイルを削除しても、git status で見るとローカルでは削除したファイルがどうやらrepoには残っているらしい。 # deleted: com/misonbar/kanagawa.cpp # deleted: com/misonbar/kanagawa.cpp # deleted: com/misonbar/kanagawa.cpp # deleted: …
git initとしたフォルダーに .gitignore というファイルをつくれば中にgitに保存したくない、つまり無視したいファイルを 設定できる。例えば、ワイの環境でかってにソースのバックアップファイルを つくっているとする。