asdf
asdf plugin add [plugin名]
asdf plugin update [plugin名]
asdf list all [plugin名]
gh
gh auth login
gh repo create [ユーザ名]/[リポジトリ名] --(private|public)
git
- ブランチの作成と切り替え(checkout→switchに移行する)
git switch -c feature/your-branch-name
# git checkout -b feature/your-branch-name
- Conventional Commits Type
- コミットメッセージのタイトル形式
<type>(<scope>): <subject> のtypeのメモ
| type | 説明 |
|---|
| feat | 新機能の追加 |
| fix | バグ修正 |
| docs | ドキュメントのみの変更 |
| style | フォーマットなど、動作に影響しない変更 |
| refactor | バグ修正でも機能追加でもないコード変更 |
| perf | パフォーマンス改善 |
| test | テストの追加・修正 |
| build | ビルドシステムや外部依存関係の変更 |
| ci | CI設定ファイル・スクリプトの変更 |
| chore | 上記に当てはまらないその他の変更 |
| revert | 以前のコミットの取り消し |
- Git Flowが定義するbranch type
- 変更の性質ではなく、リリース管理上の役割を表す分類
docs や chore のような細分化はGit Flow本来の仕様には無く、後付けの拡張
| type | 説明 |
|---|
| feature | 新機能や変更の開発用(developから分岐) |
| develop | 次リリースに向けた開発の統合ブランチ |
| release | リリース準備用(developから分岐) |
| hotfix | 本番環境の緊急修正用(mainから分岐) |
| main | 本番リリース済みのコードを保持 |
Homebrew
brew info [formula名]
brew list --verbose [formula名]
brew bundle dump --force --file=Brewfile
brew bumdle --file=Brewfile
brew services list
brew services start [service_name]
brew services stop [service_name]
ssh
ssh-keygen -t ed25519 -C "コメント"
ssh-add -k [秘密鍵のパス]