git †分散型バージョン管理ツール
git log †$ git log --pretty='%cd %s' --date=format:'%Y/%m/%d(%a)' aliasに定義すると git ll で実行できる $ git config --global alias.ll "log --pretty='%cd %s' --date=format:'%Y/%m/%d(%a)'" コミットメッセージのプリフィックス †feat: A new feature fix: A bug fix docs: Documentation only changes style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) refactor: A code change that neither fixes a bug nor adds a feature perf: A code change that improves performance test: Adding missing or correcting existing tests chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
gitのコマンド例 †リポジトリの初期化 †git --bare init グループで使用するリポジトリの場合 †umask 002 mkdir -p /pub/repositories/gitusers.git cd /pub/repositories/gitusers.git chgrp gitusers . git --bare init --shared リモートリポジトリ、originを設定 †git remote add origin ssh://..../foobar.git 環境変数 †
|