Skip to content

Commit d7d0eae

Browse files
author
user.name
committed
Remove pull feature
1 parent 1ce7968 commit d7d0eae

File tree

2 files changed

+1
-185
lines changed

2 files changed

+1
-185
lines changed

commit

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,7 @@ if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
3131
fi
3232
fi
3333

34-
# Check if there are any changes in the remote repository
35-
remote_changes=$(git fetch && git rev-list HEAD..origin/master --count)
36-
if [ $remote_changes -gt 0 ]; then
37-
read -p "There are $remote_changes remote change(s). Do you want to pull the changes? (y/n): " pull_changes
38-
if [ "$pull_changes" == "y" ]; then
39-
git pull origin master
40-
fi
41-
fi
42-
43-
# Prompt for user input
34+
#Prompt for user input
4435
read -p "Enter commit message: " message
4536
echo
4637

commit~

Lines changed: 0 additions & 175 deletions
This file was deleted.

0 commit comments

Comments
 (0)