-
-
Save Druvo/d3fa80579dddf8b6dfa5ad3ef320cce4 to your computer and use it in GitHub Desktop.
Commit on GitHub/GitLab using batch file (.bat file)
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 | |
| echo Commit on GitHub/GitLab | |
| echo. | |
| set /p comment="Enter comment: " | |
| git.exe add . | |
| git.exe commit -m "%comment%" | |
| git.exe push | |
| echo. | |
| echo All done :) | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment