Comments (7)
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.
@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.
Couldn't reproduce, please check previous comment.
from code-snippets.
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.
@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.
@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.
Ah sorry, didn't see that. Let us check and get back to you.
from code-snippets.
Related Issues (20)
- Rename the /Catalog Client Script/MRVS folder to be more descriptive HOT 1
- Provide example on benefits and usage of API Model Template for New Application
- onChange client script defined on a MRVS is not working as expected HOT 1
- Double quotes in the path name HOT 1
- Cannot create directory 'UI Actions/Add "Show Workflow" Related link': Invalid argument HOT 5
- window == null to determine if in service portal not working HOT 6
- Update documentation to state that this is not a servicenow application repository HOT 1
- . HOT 1
- ServiceNow Dev HOT 1
- g_form console access in workspace does not work in HR Agent workspace (Utah) HOT 3
- Create a licensing file HOT 4
- Restrict wiki editing to collaborators only HOT 1
- Verify readme.md is still accurate for Hacktoberfest 2023 HOT 2
- Verify contributing.md is still accurate for Hacktoberfest 2023 HOT 1
- Verify GitHub Workflows are still working for Hacktoberfest 2023 HOT 2
- Replace standard Window methods with GlideModal equivalent HOT 3
- Checkout is not working when forking the main branch HOT 2
- Update root readme with a disclaimer about quality HOT 7
- Checkout fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code-snippets.