From 6ae9f3730f753008c02ce521156156113d1c05d6 Mon Sep 17 00:00:00 2001 From: Dao Hieu Trung <Dao2.Trung@live.uwe.ac.uk> Date: Wed, 6 Nov 2024 01:08:37 +0000 Subject: [PATCH] new code each ten minutes --- GitLabCommit.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 GitLabCommit.sh diff --git a/GitLabCommit.sh b/GitLabCommit.sh new file mode 100755 index 0000000..10323bc --- /dev/null +++ b/GitLabCommit.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Navigate to your Git repository directory +cd /home/dev/scripts/operatingsystem || exit + +# Add all changes to staging +git add . + +# Commit changes with a message +git commit -m "new code each ten minutes" + +# Pull the latest changes from the remote repository +git pull + +# Push the changes to the remote repository +git push \ No newline at end of file -- GitLab