Feat: ability to reset to a remote meta ref

Open
#81 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
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
git, rust
Domain
cli

Research direction

Start by inspecting the existing ti command entry points and how the tool handles Git meta refs. Compare the proposed ti diff behavior with Git's diff-tree, then define how ti reset should target a remote state. Done means both commands have an agreed scope and reliably compare or reset the local database against a remote meta ref.

Written by the indexing model from the issue text.

Description

Context

While trying to allow unauthenticated users to only create new ticgit issues on a repository, it seems that ti lacks the ability to compare and reset with a remote meta ref.

Feature ideas

ti diff

Show differences between local and remote ticgit db.

This is currently possible with git's plumbing command diff-tree just like ticgit's commit messages.

ti reset

Reset local db state to a remote state.

Dominant language
Rust
Stars
523
Forks
242
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 schacon/ticgit

All issues in schacon/ticgit

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.