Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Clone using [email protected] works but removes files at the end.

Open
#24 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
cli, devtools

Research direction

Reproduce the issue with the jsgit clone [email protected]:creationix/js-git.git entry point and TRACE=1, using the reported Node.js and macOS context. Trace why the cloned files are removed and staged at completion; done means cloning leaves the working directory populated without requiring git reset HEAD.

Written by the indexing model from the issue text.

Description

bug

TRACE=1 jsgit clone [email protected]:creationix/js-git.git > log

Threw me this:
https://cloudup.com/cBWq4OiiJLh (The log was so big it didn't fit in here)

I'm left with a git directory working, but all the files removed and awaiting in staging. A git reset HEAD leaves me a perfectly sane directory.

node -v
v0.10.6

This is MacOSX 10.8.


Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Dominant language
JavaScript
Stars
3.8k
Forks
262
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from creationix/js-git

All issues in creationix/js-git

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.