Remove obsolete stuffs
This commit is contained in:
21
bin/cmder/vendor/conemu-maximus5/ConEmu/Scripts/git-log.cmd
vendored
Normal file
21
bin/cmder/vendor/conemu-maximus5/ConEmu/Scripts/git-log.cmd
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
@echo off
|
||||
|
||||
rem If your git log containing UTF-8 or national characters is messed,
|
||||
rem just set in the Settings/Environment proper `LANG` variable, examples:
|
||||
rem set LANG=en_US.UTF-8
|
||||
rem set LANG=ru_RU.utf8
|
||||
rem set LANG=ru_RU.CP1251
|
||||
|
||||
rem Check if we can output colors to PTY or not
|
||||
ConEmuC -isredirect
|
||||
|
||||
if errorlevel 2 goto is_con
|
||||
|
||||
rem Plain text mode
|
||||
git log --graph "--date=format:%%y%%m%%d:%%H%%M" "--pretty=format:%%h%%d %%an %%ad %%s" %*
|
||||
goto :EOF
|
||||
|
||||
:is_con
|
||||
rem Colored mode
|
||||
git log --graph "--date=format:%%y%%m%%d:%%H%%M" "--pretty=format:%%C(auto)%%h%%d %%C(bold blue)%%an %%Cgreen%%ad %%Creset%%s" %*
|
||||
goto :EOF
|
||||
12
bin/cmder/vendor/conemu-maximus5/ConEmu/Scripts/git-push-set-upstream.cmd
vendored
Normal file
12
bin/cmder/vendor/conemu-maximus5/ConEmu/Scripts/git-push-set-upstream.cmd
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
|
||||
rem Using alias "gppu=git-push-set-upstream.cmd & GitShowBranch.cmd" in ConEmu's
|
||||
rem Environment it's easy to push new branches to remote repository.
|
||||
rem The script takes current local branch and push it with --set-upstream flag.
|
||||
|
||||
setlocal
|
||||
for /F "tokens=* USEBACKQ" %%F in (`git rev-parse --abbrev-ref HEAD`) do (
|
||||
set "gitbranch=%%F"
|
||||
)
|
||||
echo on
|
||||
git push origin --set-upstream %gitbranch% %*
|
||||
5
bin/cmder/vendor/conemu-maximus5/ConEmu/Scripts/readme.txt
vendored
Normal file
5
bin/cmder/vendor/conemu-maximus5/ConEmu/Scripts/readme.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
You may use this folder to store your scripts to be available via `%PATH%`.
|
||||
|
||||
It is added to environment PATH variable (for processes started in ConEmu)
|
||||
on the `Environment` settings page:
|
||||
https://conemu.github.io/en/SettingsEnvironment.html
|
||||
Reference in New Issue
Block a user