How ovid/git-workflow works
Main Components
a. Command Layer
• Five main Git extension commands as a group of related components:
• git-refresh
• git-pushback
• git-done
• git-hub (optional)
• git-lab (optional)
b. Configuration Layer
• Configuration management components:
• .git-hub config file handler
• .git-lab config file handler
• Default branch detection system
c. External Dependencies
• GitHub/GitLab API integration
• Local Git system
• Required tools (jq, Perl 5.8+)
┌─ User Interface Layer ─┐
• (Command Line Tools) │
• Core Layer ─────┤
• (Git Operations) │
• Integration Layer ───┤
• (External Services) │
• ┘
Component Relationships
Following interactions:
• Commands → Git Local Repository
• git-hub/git-lab → Configuration Files
• git-hub → GitHub API
• git-lab → GitLab API
• All commands → Default Branch Detection System
Important Details
a. Process Flows:
• Branch creation flow
• Refresh workflow
• Push workflow
• Merge workflow
b. Configuration Requirements:
• Token management
• Repository settings
• User settings