this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add forkgit to support dotfiles repo in fork

Nice! Now I don't have to `yadm enter` all the time and I can keep the
repo open without mucking up other ones. Very slick

+13 -3
+1
.forkgit
··· 1 + git-dir = .local/share/yadm/repo.git
+1 -2
.gitconfig
··· 24 24 conflicts = !sh -c 'git diff --name-only --diff-filter=U --line-prefix="$(git rev-parse --show-toplevel)/"' 25 25 local-branch = "!git branch --format '%(refname:short) %(upstream:trackshort)' | awk '{if (!$2 || $2 == \"[gone]\") print $1;}'" 26 26 local-branch-clean = "!for b in $(git local-branch); do echo \"$b\"; git ld --color=always \"$b\" \"^$(git default-branch)\" | sed \"s/^/ /\"; printf \"\\x1b[B\\x1b[m\\n\"; read -r -p \"Delete branch? [y/N]: \"; if [[ \"$REPLY\" =~ ^[Yy]$ ]]; then git branch -D \"$b\"; fi; done #" 27 - 28 27 # Helpers for quoting/unquoting git aliases, from https://stackoverflow.com/questions/38057261/git-config-alias-escaping 29 28 quote-string = "!read -r l; printf \\\"!; printf %s \"$l\" | sed 's/\\([\\\"]\\)/\\\\\\1/g'; printf \" #\\\"\\n\" #" 30 29 quote-string-undo = "!read -r l; printf %s \"$l\" | sed 's/\\\\\\([\\\"]\\)/\\1/g'; printf \"\\n\" #" 31 - assign-pr = "!f() { git config branch.\"$1\".github-pr-owner-number \"$(git remote get-url origin | sed -E \"s#.*github[.]com[/:]([^.]+)([.]git)?#\\1#\" | tr \"/\" \"#\")#$2\"; }; f" 30 + assign-pr = "!f() { PR=\"$1\"; shift; BR=\"${1:-$(git symbolic-ref HEAD | sed 's#refs/heads/##')}\"; git config \"branch.${BR}.github-pr-owner-number\" \"$(gh repo view --json nameWithOwner -q '.nameWithOwner' | tr '/' '#')#$PR\"; }; f" 32 31 git = !git 33 32 merge-latest = !sh -c \"git bpull $1 && git merge $1\" 34 33 recommit = !git commit -eF \"$(git rev-parse --git-dir)/COMMIT_EDITMSG\"
+8 -1
.gitignore
··· 1 - # This isn't necessary for yadm, but git-crypt tries to traverse these files 1 + # Any exclusions here aren't necessary for yadm, but git-crypt and fork.dev try 2 + # to traverse all the non-ignored files which can be really slow, particularly 3 + # for things like cache dirs and stuff like ~/Documents 4 + * 5 + 6 + # Keep dot directories and the README tracked. Including all .* files is a bit messy 7 + !.*/ 8 + !README.md 2 9 3 10 /.Trash/ 4 11 /.cache/
+3
.gitmodules
··· 22 22 [submodule ".vim/pack/bundle/start/firenvim"] 23 23 path = .vim/pack/bundle/start/firenvim 24 24 url = https://github.com/glacambre/firenvim.git 25 + [submodule "/Users/ichamberlain/.config/yadm/forkgit"] 26 + path = .config/yadm/forkgit 27 + url = https://github.com/jcugat/forkgit.git