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
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment