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

git touch alias.

Touch files and git add them.
parent 6e728f88
Branches
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