Skip to content
Snippets Groups Projects
Commit d8245e09 authored by nimrod's avatar nimrod
Browse files

git touch alias.

Touch files and git add them.
parent 837295a2
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
stat = status --short --branch stat = status --short --branch
tag-version = !git tag --annotate --force --message "v$(cat VERSION)" "v$(cat VERSION)" tag-version = !git tag --annotate --force --message "v$(cat VERSION)" "v$(cat VERSION)"
temptree = !git worktree prune && git worktree add "$(mktemp -d)" 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} tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream}
trigger = !git commit --allow-empty --no-edit --amend && git pushes --force-with-lease trigger = !git commit --allow-empty --no-edit --amend && git pushes --force-with-lease
[color] [color]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment