Skip to content

Commit 66101be

Browse files
committed
Removed master as default branch_name
The default branch_name from the command line invocation is None if no name is passed.
1 parent 3c786e8 commit 66101be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbgitpuller/pull.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def main():
303303

304304
parser = argparse.ArgumentParser(description='Synchronizes a github repository with a local repository.')
305305
parser.add_argument('git_url', help='Url of the repo to sync')
306-
parser.add_argument('branch_name', default='master', help='Branch of repo to sync', nargs='?')
306+
parser.add_argument('branch_name', default=None, help='Branch of repo to sync', nargs='?')
307307
parser.add_argument('repo_dir', default='.', help='Path to clone repo under', nargs='?')
308308
args = parser.parse_args()
309309

0 commit comments

Comments
 (0)