Commit 6b29efbc authored by nimrod's avatar nimrod
Browse files

git touch alias.

Touch files and git add them.
parent 6e728f88
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
    stat = status --short --branch
    tag-version = !git tag --annotate --force --message "v$(cat VERSION)" "v$(cat VERSION)"
    temptree = !git worktree prune && git worktree add "$(mktemp -d)"
    touch = "!f() { touch \"$@\" && git add -f \"$@\"; }; f"
    tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream}
    trigger = !git commit --allow-empty --no-edit --amend && git pushes --force-with-lease
[color]