question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cloning message using folder name instead of repository name

See original GitHub issue

Description

When cloning a new repository, a large header is displayed which says something along the lines of “Cloning <name>” along with the progress.

I noticed however that it uses the name of the folder that you’re cloning into as the “name” of the repository, which probably should be the repository name instead.

E.g. my repository was called foo-bar, but I cloned this into /Sites/foo/bar locally. Github desktop reported this as “Cloning bar” instead of “Cloning foo-bar”.

Minor issue, but thought I’d report it.

Version

GitHub Desktop version: 1.0.13

OS version: OS X

Steps to Reproduce

  1. Clone a repository foo into a folder called bar

Expected behavior: [What you expected to happen] The message should say “Cloning foo”

Actual behavior: [What actually happened] The message says “Cloning bar”

Reproduces how often: [What percentage of the time does it reproduce?] 100% from what I could see but haven’t tested extensively

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
lisavogtsfcommented, Aug 3, 2018

It looks like #4364 is complete except for some variable names–which have suggestions in the PR. That PR has been locked due to inactivity. I am going to resurrect this work in a new branch/PR. image FYI @outofambit

0reactions
shiftkeycommented, May 28, 2018

We made some progress on this in #4364 but had to put it aside - feel free to refer to that code if someone else wants to take a shot at it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Change Folder Name during Git Clone of Repo - Sabe.io
By default, git clone will clone the repository into the current working directory, and use the repository's name as the folder name. However, ......
Read more >
How to Change Folder Name When Cloning a GitHub Repo
The fastest way to change the folder name when cloning a GitHub repository is to simply specify the name you want at the...
Read more >
How do I clone a Git repository into a specific folder?
You can use following git command to clone with custom directory name git clone <git_repo_url> <your_custom_directory_name>.
Read more >
Repository Names (when cloning repos) · Issue #8566 - GitHub
When I try to clone the repos, they both direct to the first repo. Both have repositories save under separate folder names but...
Read more >
git clone a directory into a new local directory with a new name
I want to clone a directory of files to start my first AngularJS project and put those files in Apache's htdocs directory with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found