Skip to content

Commit

Permalink
fix(git): use correct date index for standup command
Browse files Browse the repository at this point in the history
  • Loading branch information
kutsan committed Sep 16, 2024
1 parent 7df41c2 commit d9f8658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/git/aliases.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
git l \
--no-merges \
--author=\"$(git config user.email)\" \
--since=\"$( [[ $(date +%u) == 7 ]] && echo 'last.friday.midnight' || echo 'yesterday.midnight' )\"; \
--since=\"$( [[ $(date +%u) == 1 ]] && echo 'last.friday.midnight' || echo 'yesterday.midnight' )\"; \
}; f"
fixup = "!git log -n 50 --pretty=format:'%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"

0 comments on commit d9f8658

Please sign in to comment.