Coder Social home page Coder Social logo

Comments (7)

earlduque avatar earlduque commented on June 15, 2024 1

It appears to be because the subfolder had a trailing space which is considered an error on windows machines.
Background Scripts/Move Customer Updates /
I've renamed the folder to remove the trailing space and it should clone successfully now. Thank you for reporting this @RahmanM

from code-snippets.

Lacah avatar Lacah commented on June 15, 2024

@RahmanM I have tested cloning my forked repo (using Terminal on Mac) and it worked just fine:

Cloning into 'code-snippets'...
remote: Enumerating objects: 10585, done.
remote: Counting objects: 100% (1266/1266), done.
remote: Compressing objects: 100% (499/499), done.
remote: Total 10585 (delta 908), reused 1077 (delta 759), pack-reused 9319
Receiving objects: 100% (10585/10585), 13.71 MiB | 2.88 MiB/s, done.
Resolving deltas: 100% (5005/5005), done.

Before doing so, I made sure my fork is synced. So perhaps you want to try syncing your fork and try again? Let me know!

from code-snippets.

Lacah avatar Lacah commented on June 15, 2024

Couldn't reproduce, please check previous comment.

from code-snippets.

RahmanM avatar RahmanM commented on June 15, 2024

Hello,
I deleted the fork and got the new fork. I also deleted my local repository. I still get the error when trying to clone. It's just that one file that is causing the issue. You may need to try it in a windows machine. I am in windows 11.

Cloning into 'code-snippets'...
remote: Enumerating objects: 10527, done.
remote: Counting objects: 100% (1241/1241), done.
remote: Compressing objects: 100% (483/483), done.
remote: Total 10527 (delta 898), reused 1056 (delta 751), pack-reused 9286
Receiving objects: 100% (10527/10527), 13.70 MiB | 9.77 MiB/s, done.
Resolving deltas: 100% (4979/4979), done.
error: invalid path 'Background Scripts/Move Customer Updates /moveCustomerUpdates.js'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

from code-snippets.

Lacah avatar Lacah commented on June 15, 2024

@RahmanM could you please confirm which OS you are using? Is it Windows? Seems like Windows has restrictions re file names that other OSs don't. Let us try to reproduce and act accordingly.
Reopenig the issue.

from code-snippets.

RahmanM avatar RahmanM commented on June 15, 2024

@Lacah , Already mentioned in the issue. It is a Windows 11 machine. I also reinstalled GIT latest version to make sure I am in the latest of the GIT. Still same issue.

from code-snippets.

Lacah avatar Lacah commented on June 15, 2024

Ah sorry, didn't see that. Let us check and get back to you.

from code-snippets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.