Permalink
Browse files

Adding helpful reminder to suggest a gitc branch if the branch can no…

…t be found
  • Loading branch information...
1 parent d7b075f commit 557471d4350cf4f99d51d95f4852caa0b339d895 Alex Rockwell committed Mar 2, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/gitcycle.rb
View
@@ -128,6 +128,7 @@ def checkout(*args)
checkout_or_track(:name => branch['name'], :remote => 'origin')
else
puts "\nBranch not found!\n".red
+ puts "\nDid you mean: gitc branch #{args[0]}\n".yellow
end
else
remote, branch = args

0 comments on commit 557471d

Please sign in to comment.