Skip to content

Commit

Permalink
[IMP] git-push-pr: use date instead of datetime in default branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Sep 25, 2019
1 parent 2e73d4b commit ad0657f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-push-pr
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ git rev-list --count --left-right "@{upstream}...HEAD" | awk "
" >&2

MSG=$(git log -n1 --format=%s)
DT=$(date -j +%y%m%d%H%M)
DT=$(date -j +%y%m%d)

DYNDEVBRANCH="fp-${BRANCH}-${DT}"
DEVBRANCH=${1:-$DYNDEVBRANCH}
Expand Down

0 comments on commit ad0657f

Please sign in to comment.