クイックリファレンス

Git Extras 拡張コマンド集・便利ユーティリティ早見表

Git機能を大幅に拡張する git-extras の便利コマンド一覧:git-feature、git-bug、git-summary、git-effort、git-undo、およびGitHub連携コマンド。

· 公開日

Features & Workflows

Git-flow Feature Branches

$ git feature myfeature
  switched to branch 'feature/myfeature'

$ git checkout develop
$ git feature finish myfeature
  merging 'feature/myfeature' into develop
  deleted branch 'feature/myfeature'

Complementary subcommands include git-bug and git-refactor.

Branch Management

git delete-branch mybranch     # Deletes branch locally and remotely
git create-branch mybranch     # Creates local and pushes remote branch

Codebase Inspection & Statistics

git summary                    # Displays repository commit stats and active contributors
git effort                     # Ranks files by change frequency and activity
git count                      # Outputs line counts and commit counts
git standup                    # Summarizes commits made by an author over recent days

GitHub Integration

git fork https://github.com/user/repo # Clones repo and configures fork remotes
git sync origin master                # Syncs local branch with original repository
git release v1.0.0                    # Tags, signs, and pushes release commit

Convenience Utilities

git undo                       # Undoes the latest commit, keeping changes in working tree
git alias                      # Displays or sets custom Git aliases
git ignore '*.log'             # Appends pattern to .gitignore
git obliterate secret.env      # Completely scrubs a file from entire commit history

References

関連テーマ