Skip to content

Commit

Permalink
Merge pull request #31 from Srgr0/v4-support-commithash
Browse files Browse the repository at this point in the history
Enhancement: support commit hash
  • Loading branch information
Srgr0 authored Feb 9, 2024
2 parents 4a5d22f + a7213b5 commit 3c999dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misskey-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,8 @@ function install() {
function git_clone() {
echo "";
tput setaf 3; echo "Process: clone git repository;"; tput setaf 7;
sudo -iu "$misskey_user" git clone -b "$git_branch" --depth 1 --recursive "$git_repository" "$misskey_directory";
sudo -iu "$misskey_user" git clone --no-single-branch --recursive "$git_repository" "$misskey_directory";
sudo -iu "$misskey_user" git -C "$misskey_directory" checkout "$git_branch";
}

#Create misskey config file
Expand Down

0 comments on commit 3c999dd

Please sign in to comment.