{"id":1654,"date":"2010-01-28T05:53:04","date_gmt":"2010-01-28T10:53:04","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=1654"},"modified":"2010-01-28T05:53:04","modified_gmt":"2010-01-28T10:53:04","slug":"interactive-git-add","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2010\/01\/28\/interactive-git-add","title":{"rendered":"Interactive git add"},"content":{"rendered":"<p>I&#8217;ve been using <tt>git<\/tt> a lot more (its become my personal favourite; though on a daily basis I have to context switch between Bazaar and SVN as well &#8211; glad that I&#8217;ve stopped using CVS and BitKeeper) and am really liking it. Recently, I found out that <tt>git add<\/tt> has an interactive mode!<\/p>\n<p>You can add a whole bunch of files real easily. Ditto with reverting changes. You can also add certain lines of a file (this is seriously useful). <\/p>\n<p>Go give <tt>git add -i<\/tt> a twirl. Any other good <tt>git<\/tt> tips?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using git a lot more (its become my personal favourite; though on a daily basis I have to context switch between Bazaar and SVN as well &#8211; glad that I&#8217;ve stopped using CVS and BitKeeper) and am really liking it. Recently, I found out that git add has an interactive mode! You can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[1055],"class_list":["post-1654","post","type-post","status-publish","format-standard","hentry","category-general","tag-git"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-qG","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=1654"}],"version-history":[{"count":1,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1654\/revisions"}],"predecessor-version":[{"id":1655,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1654\/revisions\/1655"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=1654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=1654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=1654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}