You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expected to have my forked repository cloned, found an error "fatal: could not create work tree dir 'contribute-to-open-source': Permission denied"
#2412
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.
I was not able to find an open or closed issue matching what I'm seeing
Setup
Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
64 bit
$ git --version --build-options
git version 2.24.0.windows.2
cpu: x86_64
built from commit: 02af2cc5bfc37d4500e8a09333269e57f442198a
sizeof-long: 4
sizeof-size_t: 8
Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Windows 10. 64-bit
$ cmd.exe /c ver
** Microsoft Windows [Version 10.0.18362.476] **
What options did you set as part of the installation? Or did you choose the
defaults?
I put Notepad++ as editor for Git
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
** $ "C:\Program Files\Git\etc\install-options.txt"
C:\Program Files\Git\etc\install-options.txt: line 1: Editor: command not found
C:\Program Files\Git\etc\install-options.txt: line 2: Custom: command not found
C:\Program Files\Git\etc\install-options.txt: line 3: Path: command not found
SSH: Could not resolve hostname Option:: Name or service not known
C:\Program Files\Git\etc\install-options.txt: line 5: Tortoise: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0curl: (6) Could not resolve host: Option
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0curl: (6) Could not resolve host: OpenSSL
C:\Program Files\Git\etc\install-options.txt: line 7: CRLF: command not found
Bash: Terminal: No such file or directory
C:\Program Files\Git\etc\install-options.txt: line 9: Performance: command not found
**
Any other interesting things about your environment that might be related
to the issue you're seeing?
** insert your response here **
Details
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
** https://github.com/danthareja/contribute-to-open-source/blob/master/CONTRIBUTING.md#set-up-git-and-install-nodejs -link from which I was looking at in order to clone the forked repository
$ git clone https://github.com/pulkitsharma7790/contribute-to-open-source
fatal: could not create work tree dir 'contribute-to-open-source': Permission denied
**
What did you expect to occur after running these commands?
** I just expected to have the forked repository cloned **
What actually happened instead?
** fatal: could not create work tree dir 'contribute-to-open-source': Permission denied**
If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
** $ "C:\Program Files\Git\etc\install-options.txt"
C:\Program Files\Git\etc\install-options.txt: line 1: Editor: command not found
C:\Program Files\Git\etc\install-options.txt: line 2: Custom: command not found
C:\Program Files\Git\etc\install-options.txt: line 3: Path: command not found
SSH: Could not resolve hostname Option:: Name or service not known
C:\Program Files\Git\etc\install-options.txt: line 5: Tortoise: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0curl: (6) Could not resolve host: Option
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0curl: (6) Could not resolve host: OpenSSL
C:\Program Files\Git\etc\install-options.txt: line 7: CRLF: command not found
Bash: Terminal: No such file or directory
C:\Program Files\Git\etc\install-options.txt: line 9: Performance: command not found
**
Whoops... The idea was to list the contents, not to try to execute that file as it were a script.
Setup
64 bit
Windows 10. 64-bit
defaults?
I put Notepad++ as editor for Git
to the issue you're seeing?
** insert your response here **
Details
** Bash **
Minimal, Complete, and Verifiable example
this will help us understand the issue.
** I just expected to have the forked repository cloned **
** fatal: could not create work tree dir 'contribute-to-open-source': Permission denied**
URL to that repository to help us with testing?
**https://github.com/pulkitsharma7790/contribute-to-open-source **
The text was updated successfully, but these errors were encountered: