Skip to content

Commit 866608b

Browse files
committed
Update: 2024-04-05 22:14:25
1 parent 90c3565 commit 866608b

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

push_dotfiles.sh

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
CONFIG_PATH=/home/eran/.config
4+
SCRIPT_PATH=/home/eran/scripts
45

56
cd $CONFIG_PATH
67

@@ -41,3 +42,11 @@ git commit -m "$commit_message"
4142

4243
# Push to your GitHub repository
4344
git push -f origin main
45+
46+
cd $SCRIPT_PATH
47+
48+
git add .
49+
50+
commit_message="Update: $(date +'%Y-%m-%d %H:%M:%S')"
51+
git commit -m "$commit_message"
52+
git push origin main

sync_scripts_configs.sh

-7
This file was deleted.

0 commit comments

Comments
 (0)