Skip to content

Commit 6cde86e

Browse files
authored
Merge pull request #133 from katrinleinweber/master
Make `switch` command a bit more helpful
2 parents 5bc6bf6 + 7830d16 commit 6cde86e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitless/cli/gl_switch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def main(args, repo):
3030
if not b:
3131
pprint.err('Branch {0} doesn\'t exist'.format(args.branch))
3232
pprint.err_exp('to list existing branches do gl branch')
33+
pprint.err_exp('to create a new branch do gl branch -c {0}'.format(args.branch))
3334
return False
3435

3536
repo.switch_current_branch(b, move_over=args.move_over)

0 commit comments

Comments
 (0)