imsky / imsky/git-fresh

Sometimes throws a strange error

Open
#78 8 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
512
Forks
17
PR merge metrics
No merged PRs in 30d

Description

```
$ git fresh -f
Fetching origin
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), done.
From github.***:***/***
b5a9630..36fb856 master -> origin/master
Fetching ***
Fetching ***
Fetching ***
Deleted branch *** (was b01d5c1).
Deleted branch *** (was a9f8bb3).
[git-fresh] Error on line 263: fi
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported `git fresh -f` run and inspect line 263 of the shell script, where the error is reported. Trace the command path that reaches that line and confirm the fix by rerunning the same scenario without the strange error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.