I want to get created Git branch (hotfix / feature) timestamp with shell_exec.
I tried below,
shell_exec("git show --summary `git merge-base your_branch master`");
But it showing null.
Does anyone know how to get it with php ?
I want to get created Git branch (hotfix / feature) timestamp with shell_exec.
I tried below,
shell_exec("git show --summary `git merge-base your_branch master`");
But it showing null.
Does anyone know how to get it with php ?
Copyright © 2021 Jogjafile Inc.
You used correct command for getting commit-hash (
git merge-base), butgit show --summaryfor branchpoint is damned delirium!!!or another formats for another timestamp's representation