Package Details: ugit 5.8-1

Git Clone URL: https://aur.archlinux.org/ugit.git (read-only, click to copy)
Package Base: ugit
Description: ugit helps you undo your last git command with grace. Your damage control git buddy. Undo from 20+ git scenarios.
Upstream URL: https://github.com/Bhupesh-V/ugit
Keywords: bash-script beginner-friendly damage-control fzf fzf-scripts git git-toolkit git-tools pro-git productivity shell-scripts ugit undo-commands undo-git-command
Licenses: MIT
Submitter: Tabulate
Maintainer: Tabulate
Last Packager: Tabulate
Votes: 3
Popularity: 0.004105
First Submitted: 2021-05-01 01:49 (UTC)
Last Updated: 2024-02-03 19:49 (UTC)

Latest Comments

yochananmarqos commented on 2021-05-21 14:43 (UTC) (edited on 2021-05-21 14:47 (UTC) by yochananmarqos)

There's now a ZSH plugin:

install -Dm644 "$pkgname.plugin.zsh" -t "$pkgdir/usr/share/zsh/plugins/$pkgname"

A symlink could also be created to git-undo like in the repo:

ln -s "/usr/bin/$pkgname" "$pkgdir/usr/bin/git-undo"

Problem is, it conflicts with git-extras.

yochananmarqos commented on 2021-05-01 16:21 (UTC)

I forgot to mention there's no reason for the options() array at all. The binary can be stripped (not that it really needs it, I suppose) and there are no empty directories.

Tabulate commented on 2021-05-01 16:09 (UTC)

I'll go ahead and fix those issues. I did have fzf in the dependencies, but it must've gotten removed when I was adding the ones I had yet to add. Thanks for pointing these things out

yochananmarqos commented on 2021-05-01 15:58 (UTC)

Use the release tarball. If you want to pull from the latest commit, create a VCS packge called ugit-git.

fzf is also a dependency.

The MIT license is not present in /usr/share/licenses/common/ and should be installed.

Example PKGBUILD