This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixes issue with branch creation & switching
main
Eric Amodio
5 years ago
parent
db66799270
commit
d078f80d6f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/git/git.ts
+ 1
- 1
src/git/git.ts
View File
@ -479,7 +479,7 @@ export namespace Git {
)
{
const
params
=
[
'checkout'
]
;
if
(
createBranch
)
{
params
.
push
(
'-b'
,
createBranch
,
'--track'
,
ref
,
'--'
)
;
params
.
push
(
'-b'
,
createBranch
,
ref
,
'--'
)
;
}
else
{
params
.
push
(
ref
,
'--'
)
;
Write
Preview
Loading…
Cancel
Save