docs:git:partially_adding_lines_to_commits

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docs:git:partially_adding_lines_to_commits [2011/12/01 14:02] – created billhdocs:git:partially_adding_lines_to_commits [2012/09/21 23:26] (current) – [git gui] billh
Line 4: Line 4:
 Right click the hunk of code you want to stage, and select "Stage Hunk for Commit" You can also Stage or Unstage by line(s) using git gui. Right click the hunk of code you want to stage, and select "Stage Hunk for Commit" You can also Stage or Unstage by line(s) using git gui.
  
 +{{:docs:git:git_gui_stage_hunk_example.png|}}
 ===== command line ===== ===== command line =====
 use the patch parameter to git add:<code> use the patch parameter to git add:<code>
  • docs/git/partially_adding_lines_to_commits.1322773340.txt.gz
  • Last modified: 2011/12/01 14:02
  • by billh