maxyu1115 / maxyu1115/git-backup-sync
During backup automatically call syncBackupBranch when it is behind
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Currently when backup, we just assume our backup branch is in sync with our working branch. By checking git commits, detect if the backup branch is out of sync, and if it is, call our syncBackupBranch.
A good place to add this logic is: https://github.com/maxyu1115/git-backup-sync/blob/5566ba242dd70915850f9e7f0270c5f2b171f0f0/src/extension.ts#L263
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/extension.ts at the backup logic around line 263, then read the existing syncBackupBranch function and the surrounding git operations. Compare the backup and working branches by their commits, and consider the work done when backup calls syncBackupBranch whenever the backup branch is behind.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100