[GIT] `$ git pull` fatal: bad object refs/tags/tags.c and error: https://github.com/SalamLang/Salam did not send all necessary objects
good first issuehelp wantedgithub
## Attempt 1
```
C:\Users\MAX\Salam>
C:\Users\MAX\Salam>
C:\Users\MAX\Salam>git gc --prune=now
fatal: bad object refs/tags/tags.c
fatal: failed to run repack
C:\Users\MAX\Salam>git remote prune origin
C:\Users\MAX\Salam>git pull
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (4/4), 1.46 KiB | 747.00 KiB/s, done.
fatal: bad object refs/tags/tags.c
error: https://github.com/SalamLang/Salam did not send all necessary objec
```
----
## Attempt 2
```
C:\Users\MAX\Salam>git fsck --full
Checking object directories: 100% (256/256), done.
Checking objects: 100% (26081/26081), done.
error: refs/tags/tags.c: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tags/tags.h: invalid sha1 pointer 0000000000000000000000000000000000000000
dangling commit d6b751bd30f2a24dc455713f421c2cc6a445ca6a
C:\Users\MAX\Salam>git pull
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (4/4), 1.46 KiB | 747.00 KiB/s, done.
fatal: bad object refs/tags/tags.c
error: https://github.com/SalamLang/Salam did not send all necessary objects
```
----
## Attempt 3
```
C:\Users\MAX\Salam>git fetch --all --prune
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (4/4), 1.46 KiB | 747.00 KiB/s, done.
fatal: bad object refs/tags/tags.c
error: https://github.com/SalamLang/Salam did not send all necessary objects
C:\Users\MAX\Salam>git pull
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (4/4), 1.46 KiB | 747.00 KiB/s, done.
fatal: bad object refs/tags/tags.c
error: https://github.com/SalamLang/Salam did not send all necessary objects
C:\Users\MAX\Salam>git pull
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (4/4), 1.46 KiB | 747.00 KiB/s, done.
fatal: bad object refs/tags/tags.c
error: https://github.com/SalamLang/Salam did not send all necessary objects
C:\Users\MAX\Salam>git fetch --all --prune
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (4/4), 1.46 KiB | 373.00 KiB/s, done.
fatal: bad object refs/tags/tags.c
error: https://github.com/SalamLang/Salam did not send all necessary objects
C:\Users\MAX\Salam>git fetch --all --prune
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (4/4), 1.46 KiB | 498.00 KiB/s, done.
fatal: bad object refs/tags/tags.c
error: https://github.com/SalamLang/Salam did not send all necessary objects
C:\Users\MAX\Salam>git pull
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (4/4), 1.46 KiB | 498.00 KiB/s, done.
fatal: bad object refs/tags/tags.c
error: https://github.com/SalamLang/Salam did not send all necessary objects
```
------------
```
C:\Users\MAX\Salam>git status
On branch max-updates-salam
Your branch is up to date with 'origin/max-updates-salam'.
nothing to commit, working tree clean
C:\Users\MAX\Salam>git diff
```
8 条评论