libgit2 / libgit2/libgit2sharp

Not able to get tracking info after clone and commit inside empty repository

Open
#1,880 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

I m cloning empty repository(0 commits right now) and then i made some commits inside that but when i m pushing those commits, i m not able to get ahead by count it is showing null

Contributor guide

Open the contributing guide

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.

Research direction

No file, test, or entry point is named. Reproduce the empty-repository clone, local commit, and push flow, then trace how the ahead count is calculated and where it becomes null; done means the count is returned correctly after the push.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.