Task: Partially Stage Changes in a Git Repository Using the Command Line
Task: Partially Stage Changes in a Git Repository Using the Command Line: a task in Terminal-Lego-15k (Harbor dataset). Demonstrate how to partially stage changes from a single file using git add --patch (or git add -p ) in a Linux terminal environment. You will work with a Git repository where a…
The task
Demonstrate how to partially stage changes from a single file using `git add --patch` (or `git add -p`) in a Linux terminal environment. You will work with a Git repository where a file has multiple distinct changes, and you must stage only specific hunks (not the entire file) before committing.
Part of PrimeIntellect/Terminal-Lego-15k.