Skip to content

Commit 298a90c

Browse files
author
Katrin Leinweber
committed
Make switch command a bit more helpful
1 parent 5bc6bf6 commit 298a90c

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 feature/foo')
3334
return False
3435

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

0 commit comments

Comments
 (0)