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

Add fetch, pull, push operation on git-notes

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
git, typescript
Domain
tooling

Research direction

Start by reviewing the linked pull-request commit and the operation examples in this issue. Decide on a consistent API for fetch, pull, and push, including refs, remotes, branches, and flags; done means the chosen forms are implemented and usable as described.

Written by the indexing model from the issue text.

Description

enhancement

https://github.com/g-u-c/guc-desktop/pull/31/commits/abac4cdb423f457600308ea27b7570ba48c4a6b0

These operations are a bit different with others git-notes operation because it doesn't require handler. Some ways to use the API that I can think of:

notes({ ref: 'utopian' }).push() // or pull() | fetch()
notes({ ref: '*' }).fetch() // or pull() | push()

notes({ ref: '*', remote: 'origin' }).fetch() // or pull() | push()

notes({ref: 'utopian'}).atBranch('master').fetch(...flags) // or pull() | fetch()
notes({ref: 'utopian'}).atRemote('origin').fetch(...flags) // or pull() | fetch()

notes({ref: 'utopian'}).at({ remote: 'origin', branch: 'master' }).push(...flags) // or pull() | fetch()

notes({ref: 'utopian'}).at('origin', 'master').push(...flags) // or pull() | fetch()

Which one is better?

Dominant language
TypeScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

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.

More from DrSensor/fluent-git

All issues in DrSensor/fluent-git

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.