Created
March 12, 2020 14:51
-
-
Save severak/c9cc6376231dc6cf24c92eb3eb2c26b3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if "%1" EQU "" ( | |
echo "param [projectname] is missing" | |
exit /b | |
) | |
cd "%1" || exit /b | |
echo repo: | |
git rev-parse --show-toplevel | |
echo from: | |
git config --get remote.origin.url | |
echo branch: | |
git symbolic-ref --short -q HEAD | |
echo: | |
git log --format="format:%%an %%ar:%%n%%h %%s" -n 1 | |
echo: | |
if exist .env.local ( | |
echo .env.local: | |
echo: | |
type .env.local | |
echo: | |
echo =*=*=*=*=*= | |
) | |
if exist app/config/parameters.yml ( | |
echo app/config/parameters.yml: | |
echo: | |
type app\config\parameters.yml | |
echo: | |
echo =*=*=*=*=*= | |
) | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment