Commit specific lines of a file to git
Use git add -i
to stage the lines then commit as normal, or use git-cola until you get used to the command line.
Try git add -p
-- it will interactively let you add, skip, or split diff hunks.
Use git add -i
to stage the lines then commit as normal, or use git-cola until you get used to the command line.
Try git add -p
-- it will interactively let you add, skip, or split diff hunks.