AI Business Intelligence Analyst
An AI Business Intelligence Analyst bridges traditional business intelligence with AI-powered analytics, using LLMs, machine learn…
Skill Guide
A systematic methodology for tracking, managing, and merging changes to codebases and digital assets across distributed teams, using Git as the local version control system and GitHub as the cloud-based collaboration platform.
Scenario
You have a static HTML/CSS portfolio site hosted on GitHub Pages. You need to add a new project section and fix a styling bug without breaking the live site.
Scenario
You are tasked with contributing a bug fix to an existing open-source JavaScript library. The project uses a fork-and-pull model with strict CI checks and code review requirements.
Scenario
Your team uses a Git Flow model. A critical security vulnerability is discovered in the production (`main`) branch while active development (`develop`) has diverged significantly. You must deploy a fix immediately without disrupting ongoing feature work.
Git CLI is the foundational tool for all operations. GitHub (or GitLab/Bitbucket) provides the collaborative layer: pull requests, issues, actions (CI/CD), and project boards. GUI clients like GitKraken are useful for visualizing complex histories, while IDE integrations streamline daily commands.
Trunk-Based/GitHub Flow suits continuous delivery with short-lived branches. Git Flow is structured for scheduled releases. Conventional Commits standardize message formats for automated changelogs. Semantic Versioning (`MAJOR.MINOR.PATCH`) is the standard for communicating change impact in releases.
Answer Strategy
`git merge` creates a merge commit, preserving the complete history and context of all branches, making it safe for public/shared branches. `git rebase` replays commits from one branch onto another, creating a linear history; it's ideal for cleaning up your local feature branch before merging to keep the project history tidy, but you should never rebase commits that have been pushed and are being used by others.
Answer Strategy
First, I would immediately use the BFG Repo-Cleaner to remove the file from the entire git history, as it's simpler and faster than `git filter-branch`. After force-pushing the cleaned repository, I'd instruct the team to re-clone. To prevent recurrence, I'd add the file extension to `.gitignore` and implement a pre-commit hook using a tool like `pre-commit` to scan for large files and block the commit.
1 career found
Try a different search term.