-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloning repository uses incorrect URL for source #4952
Comments
@doriclaudino thanks for reaching out! We require the template to be filled out on all new issues. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests. Also, could you attach the full log files? The Help | Show Logs in Explorer menu items should open the logs folder, and inside those are the log files generated by day. This will provide some more information to help troubleshoot. Thanks for understanding and meeting us half way 😀 |
@shiftkey I just update the issue. thanks! |
@doriclaudino that log file helps - thanks for the details. It looks like the first clone was done with the correct URL but it chose to use a different local path:
The local path should be inherited from the repository you've selected, but I couldn't trigger this while testing on Windows just now: Could you have been switching quickly between the |
@shiftkey but I'm not cloning: https://github.com/doriclaudino/algorithm-lessons.git on the first click. DETAIL: The image bellow must be: |
@doriclaudino the repositories in the list will show their GitHub name (and differentiated by owner if they have the same name) so that behaviour seems to be correct. We only fallback to folder names for non-GitHub repositories. I'd like to understand the steps you went on to clone the repository down - is this repeatable? Can you put together a GIF showing the steps that are leading to this confusion? |
@shiftkey, OK, like I said by the log shows I'm cloning 2 times the same repository (the lessons), but is not true. I'll make a .gif to show my problem. and I'll clean the folder to be easy. |
@shiftkey , the gif I'm not issuing the path names, is just the name on repositories list, because: Maybe this issues name can be: wrong name after clone. |
@doriclaudino thanks for the details and the GIF. I'm puzzled why it doesn't seem to be using the correct URL, but those steps are a great help to reproduce it on my end! |
@desktop/support Mind taking a look at this one? |
@doriclaudino I have attempted to reproduce this but have so far been unsuccessful. Is this something that you are able to still consistently reproduce in GitHub Desktop? |
Description
I have two repositories:
ALGO: https://github.com/doriclaudino/algorithm-lessons
BOILERPLATE: https://github.com/doriclaudino/boilerplate-es6-mocha
When cloning the BOILERPLATE, it coming with algorithm-lessons name.
When cloning the ALGO, it coming with algorithm-lessons name [that's ok].
I tried to recreate the BOILERPLATE, still not working.
Version
Windows 10 64bits.
Steps to Reproduce
CTRL+SHIFT+O
![image](https://user-images.githubusercontent.com/3863501/41538156-91090b16-72d8-11e8-93e2-c9ca0216f20b.png)
Expected Behavior
Cloned repositories must still the same name from web to desktop github.
Actual Behavior
Additional Information
Logs
2018-06-18T13:12:51.855Z - info: [ui] [AppStore] loading 0 repositories from store
2018-06-18T13:12:51.857Z - info: [ui] [AppStore] found account: doriclaudino (dori)
2018-06-18T13:12:52.024Z - info: [ui] launching: 1.2.3 (Windows 10.0.17134)
2018-06-18T13:12:52.031Z - info: [ui] execPath: 'C:\Users\dori\AppData\Local\GitHubDesktop\app-1.2.3\GitHubDesktop.exe'
2018-06-18T13:13:02.345Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/doriclaudino/algorithm-lessons.git - doriclaudino (has token)
2018-06-18T13:13:07.140Z - info: [ui] Executing clone: git -c credential.helper= clone --recursive --progress -- https://github.com/doriclaudino/algorithm-lessons.git C:\github\boilerplate-es6-mocha (took 4.752s)
2018-06-18T13:13:07.203Z - info: [ui] [AppStore] adding repository at C:\github\boilerplate-es6-mocha to store
2018-06-18T13:14:02.739Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/doriclaudino/algorithm-lessons.git - doriclaudino (has token)
2018-06-18T13:14:06.584Z - info: [ui] Executing clone: git -c credential.helper= clone --recursive --progress -- https://github.com/doriclaudino/algorithm-lessons.git C:\github\algorithm-lessons (took 3.836s)
2018-06-18T13:14:06.681Z - info: [ui] [AppStore] adding repository at C:\github\algorithm-lessons to store
The text was updated successfully, but these errors were encountered: