Change default branch name from 'master' to 'main' in git.list function
This commit is contained in:
@@ -15,7 +15,7 @@ function git.list(repository)
|
||||
|
||||
local user = table.remove(t, 1)
|
||||
local repo = table.remove(t, 1)
|
||||
local branch = table.remove(t, 1) or 'master'
|
||||
local branch = table.remove(t, 1) or 'main'
|
||||
local path
|
||||
|
||||
if not Util.empty(t) then
|
||||
|
||||
Reference in New Issue
Block a user