all repos

dotfiles @ a6fa85b1d0ab2ff071503fc2789b280d23ae93f1

my dotfiles
3 files changed, 4 insertions(+), 14 deletions(-)
bin: remove upd, update git
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-02-14 23:32:56 +0200
Parent: e8451e7
A bin/git-unfuck

@@ -0,0 +1,3 @@

+#!/usr/bin/env bash +git log -1 --format="%h - %an, %ar : %s" +git reset HEAD~1 --soft
D bin/upd

@@ -1,13 +0,0 @@

-#!/usr/bin/env bash - -upd_fname=upd.sh -upd_scripts=( - "$HOME/org" - "$HOME/Documents/Obsidian" -) - -for path in "${upd_scripts[@]}"; do - echo -e "\e[32m====== $path\e[0m" - cd "$path" || exit 1 - "$path"/"$upd_fname" || exit 1 -done
M gitconfig

@@ -25,7 +25,7 @@ lg = log --oneline --graph --all

st = status -sb cm = commit -m sw = switch - unfuck = reset HEAD~1 --soft + unfuck = !git-unfuck main = !git switch master 2>/dev/null || git switch main [interactive]