dotfiles: leviathan: arch-openbox-20231010
This commit is contained in:
24
.local/bin/gap
Executable file
24
.local/bin/gap
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Below command will backup everything inside the project folder
|
||||
git add .
|
||||
|
||||
# Give a comment to the commit if you want
|
||||
echo "####################################"
|
||||
echo "Write your commit comment! $(date +%Y.%m.%d) Update:"
|
||||
echo "####################################"
|
||||
|
||||
read input
|
||||
|
||||
# Committing to the local repository with a message containing the time details and commit text
|
||||
|
||||
git commit -a -m "$(date +%Y.%m.%d) Update $input"
|
||||
|
||||
# Push the local files to github
|
||||
|
||||
git push
|
||||
|
||||
|
||||
echo "################################################################"
|
||||
echo "################### Git Push Done ######################"
|
||||
echo "################################################################"
|
Reference in New Issue
Block a user