tldr -u fail to update because the git master branch was renamed

Bug #2067175 reported by FellipeC
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
haskell-tldr (Ubuntu)
New
Undecided
Unassigned

Bug Description

When running tldr -u command, the following error is displayed:

❯ tldr -u
fatal: couldn't find remote ref master
tldr: Received ExitFailure 1 when running
Raw command: git pull origin master
Run from: /home/fellipec/.local/share/tldr/tldr

If you cd to the directory mentioned in the error and run the command modifying "master" to "main" it works:

❯ git pull origin main
From https://github.com/tldr-pages/tldr
 * branch main -> FETCH_HEAD
Already up to date.

The tldr version is 0.6.4-1build6.3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.