Use HTTPS for git remote (SSH port 222 unavailable)
This commit is contained in:
parent
28f40f7edd
commit
d3351b0f01
|
|
@ -25,7 +25,7 @@ CONFIG_DIR="$HOME/.config/development-hub"
|
||||||
TOKEN_FILE="$CONFIG_DIR/gitea-token"
|
TOKEN_FILE="$CONFIG_DIR/gitea-token"
|
||||||
|
|
||||||
GITEA_URL="https://gitea.brrd.tech"
|
GITEA_URL="https://gitea.brrd.tech"
|
||||||
GITEA_SSH="ssh://git@gitea.brrd.tech:222"
|
GITEA_CLONE_URL="https://gitea.brrd.tech" # Use HTTPS for cloning (SSH port 222 often unavailable)
|
||||||
GITEA_OWNER="rob"
|
GITEA_OWNER="rob"
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
|
|
@ -261,7 +261,7 @@ create_local_project() {
|
||||||
cd "$project_dir"
|
cd "$project_dir"
|
||||||
|
|
||||||
git init --quiet
|
git init --quiet
|
||||||
git remote add origin "$GITEA_SSH/$GITEA_OWNER/$name.git"
|
git remote add origin "$GITEA_CLONE_URL/$GITEA_OWNER/$name.git"
|
||||||
|
|
||||||
log_success "Created local project with git"
|
log_success "Created local project with git"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue