2014-04-03から1日間の記事一覧

gitにSHH公開鍵接続する

秘密鍵がデフォルトの「id_rsa」ならば、以下のコマンドで接続出来る。 git clone ssh://ssh_user_name@server_host:port/home/repository/hoge.git

gitのショートカットコマンド設定

git config --global alias.br 'branch' git config --global alias.co 'checkout' git config --global alias.st 'status' git config --global alias.cmm 'commit' 以下コマンドのように実行できる。 git br develop

Gitのリモートリポジトリ操作

※本エントリは、謝りを含んでいる可能性があります。 2ユーザで、リモートリポジトリにpush~pullする操作のテスト。 branch、merge、rebaseなどは追って・・・。 ■サーバ側でリモートリポジトリを作成する。 $ sudo mkdir -p /usr/local/git/test.git $ cd …

nodejsインストール

sudo apt-get install python-software-properties sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs # node -v v0.10.26