LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

yadm-enter

Run a sub-shell with yadm Git variables set

TLDR

Enter a sub-shell with yadm Git variables set
$ yadm enter
copy
Run a specific command in the yadm context
$ yadm enter [command]
copy
Run git log within the yadm worktree
$ yadm enter git log --oneline
copy

SYNOPSIS

yadm enter [command]

DESCRIPTION

yadm enter opens a sub-shell with GIT_DIR and GIT_WORK_TREE environment variables set to the yadm repository. Exit the sub-shell the same way you leave your normal shell (usually with "exit"). This is useful for complex git operations on dotfiles, or for integrating with tools that use Git directly such as tig, vim-fugitive, or git-cola.Optionally, provide a command after "enter" and that command will be run with the yadm Git variables exposed in its environment, instead of invoking a sub-shell.

INSTALL

sudo pacman -S yadm
copy
sudo apk add yadm
copy
sudo zypper install yadm
copy
brew install yadm
copy
nix profile install nixpkgs#yadm
copy

SEE ALSO

yadm(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid