Skip to content
Tags

git-add-ing lines by line numbers

July 15, 2013

Every now and then I want have control over staging my files by line number. While `git add -p` lets you add hunks of code as split by git, and you can continue trying to use the ‘s’ command in the interactive console to try splitting it, it still doesn’t work as I would like to split things up.

At such times I use git-gui and really like it.

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: