javascript-mini-projects icon indicating copy to clipboard operation
javascript-mini-projects copied to clipboard

Can anyone help me clone this repository?

Open Dominic8999 opened this issue 1 year ago • 6 comments

I forked this repository and cloned it, but all files are deleted by default, and when I try to unstage the changes, I run into an error. I am new to contributing and I haven't encountered this before. Also, I tried to type the git command visible below "git restore --source=HEAD :/", but then I had to create two other commits which override commits written by others. image

Dominic8999 avatar Aug 25 '24 16:08 Dominic8999

👋 @Dominic8999

Thanks for opening your first issue here! Be sure to follow the issue template!

github-actions[bot] avatar Aug 25 '24 16:08 github-actions[bot]

I restored most of the files, however, 13 of them I can't restore ;-;

image

Dominic8999 avatar Aug 26 '24 18:08 Dominic8999

If files are missing after cloning, it's possible that the repository is configured in a way that causes this, or there might have been a mistake during the cloning process. Usually, cloning a repository should pull down all the files present at the current commit.

When you see files as "deleted" in your working directory, it's possible they are being tracked as deletions by Git. To unstage these changes, you can use: git restore --staged . :)

behan05 avatar Aug 30 '24 23:08 behan05

If files are missing after cloning, it's possible that the repository is configured in a way that causes this, or there might have been a mistake during the cloning process. Usually, cloning a repository should pull down all the files present at the current commit.

When you see files as "deleted" in your working directory, it's possible they are being tracked as deletions by Git. To unstage these changes, you can use: git restore --staged . :)

So yeah, I tried to run this command, however, this just returns a bunch of errors.

Dominic8999 avatar Sep 03 '24 14:09 Dominic8999

This happens when I try to clone my forked repo using Github GUI version.

image

Dominic8999 avatar Sep 03 '24 14:09 Dominic8999

Share the platform that you are using. Like windows, linux or macOS

shantnudon avatar Oct 18 '24 11:10 shantnudon