0

Why is all of the commits associated with Laravel visible in some of my projects when I run git log --all and not in others. Git docs says:

--all: Pretend as if all the refs in refs/, along with HEAD, are listed on the command line as <commit>.

In my .git/refs/ all I see is empty folders, probably because all the refs have been packed.

How can I get rid of the Laravel commit history as well as the tags, but preserve my own history and tags?

Lasse
  • 77
  • 1
  • 10

1 Answers1

0

This worked for me:

  1. Push to a remove by running git push --follow-tags (see this post)
  2. Clone the repo down again using git clone <repo>

Voilà. All unwanted refs gone.

Lasse
  • 77
  • 1
  • 10