cannot clone a git repo with a custom name with spaces

Open Beginner friendly
#114 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
shell
Domain
cli

Research direction

Start with the argument handling for the try clone command and compare it with the try <git-url> clone alias. Reproduce the example using a custom name with spaces, then verify that try clone preserves the complete name just as the alias does.

Written by the indexing model from the issue text.

Description

When cloning a git repo with the try clone command, if the custom name provided have spaces then it only gets the first word before the space and ignores the rest. This does not happen when cloning with the clone alias try <git-url>.

Ex.

try clone <git-url> a b    # this clones with the custom name as "a" and ignores the rest

Doing the same with the clone alias:

try <git-url> a b     # this clones with the full custom name "a b"
Dominant language
Shell
Stars
4k
Forks
159
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tobi/try

All issues in tobi/try

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.