Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Better
Better
Commits
f1a4b501
Commit
f1a4b501
authored
May 10, 2016
by
Aral Balkan
Browse files
Fixed the git fetch command for remote branch checkouts.
parent
d870bc1c
Pipeline
#503
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
better/edit
View file @
f1a4b501
...
...
@@ -243,7 +243,7 @@ checkOutExistingRemoteBranch(){
echo
" · Checking out existing remote branch
${
branchName
}
."
runIn
$contentDirectory
"git checkout master"
# &> /dev/null
runIn
$contentDirectory
"git fetch"
# &> /dev/null
runIn
$contentDirectory
"git fetch
live
"
# &> /dev/null
runIn
$contentDirectory
"git checkout -b
${
branchName
}
live/
${
branchName
}
"
# &> /dev/null
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment