Skip to content

Commit 9cbd7f4

Browse files
committed
Updated command and instructions
1 parent 93c7b0a commit 9cbd7f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/gitssh-commands.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ git_push() {
231231
protocol=$(_get_remote_protocol "$origin_url")
232232
case "$protocol" in
233233
https)
234-
_print_info "Tip: Use 'ssh_remote' to avoid password prompts"
234+
_print_info "Tip: Use 'gitssh remote convert' to avoid password prompts"
235235
;;
236236
ssh)
237237
ssh_host=$(_extract_ssh_host "$origin_url")
@@ -263,7 +263,7 @@ git_push() {
263263
# Enhanced git clone with auto-setup
264264
git_clone() {
265265
if [ $# -eq 0 ]; then
266-
printf "Usage: git_clone <repository-url> [directory]\n"
266+
printf "Usage: gitssh clone <repository-url> [directory]\n"
267267
printf "Enhanced clone with automatic user configuration\n"
268268
return 1
269269
fi
@@ -547,7 +547,7 @@ git_analyze() {
547547

548548
if [ -z "$current_name" ] || [ -z "$current_email" ]; then
549549
_print_warning " Issue: Incomplete user configuration"
550-
printf " Fix: Run 'session_set' to configure\n"
550+
printf " Fix: Run 'gitssh session set' to configure\n"
551551
issues_found=$((issues_found + 1))
552552
fi
553553

@@ -560,15 +560,15 @@ git_analyze() {
560560

561561
if [ "$protocol" = "https" ] && _is_github_https_url "$origin_url"; then
562562
_print_warning " Issue: Using HTTPS (requires password for push)"
563-
printf " Fix: Run 'ssh_remote' to convert to SSH\n"
563+
printf " Fix: Run 'gitssh remote convert' to convert to SSH\n"
564564
issues_found=$((issues_found + 1))
565565
fi
566566

567567
# Check user/remote mismatch
568568
remote_user=$(_extract_username_from_remote "$origin_url")
569569
if [ -n "$remote_user" ] && [ -n "$current_name" ] && [ "$remote_user" != "$current_name" ]; then
570570
_print_warning " Issue: User mismatch (git: $current_name, remote: $remote_user)"
571-
printf " Fix: Use 'session_set' to select correct user\n"
571+
printf " Fix: Use 'gitssh session set' to select correct user\n"
572572
issues_found=$((issues_found + 1))
573573
fi
574574
else

0 commit comments

Comments
 (0)