-
-
Save morganchristiansson/827375 to your computer and use it in GitHub Desktop.
Revisions
-
morganchristiansson revised this gist
Feb 15, 2011 . 3 changed files with 2 additions and 2 deletions.There are no files selected for viewing
File renamed without changes.This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ #!/usr/bin/env ruby puts `git status`.split("\n").select {|f| f =~ /(?:unmerged|both modified)/ }.map {|f| f.gsub(/#\s+(?:unmerged|both modified):\s*/, "") }.join(" ") This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,2 +0,0 @@ -
foca created this gist
Oct 10, 2009 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ [alias] unmerged = !vim -o $(git-unmerged-files) This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ #!/usr/bin/env ruby puts `git status`.split("\n").select {|f| f =~ /unmerged/ }.map {|f| f.gsub(/#\s+unmerged:\s*/, "") }.join(" ")