Public bug reported:

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

** Affects: haskell-tldr (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067175

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haskell-tldr/+bug/2067175/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to