mirror of
https://gitlab.com/ProcyonLotor/vrchat-template.git
synced 2026-08-25 10:43:53 +05:00
Updated shell scripts again
This commit is contained in:
@@ -9,8 +9,16 @@ if [ -z "$upstream" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Going to reset current branch to: ${upstream}"
|
||||
echo "*** WARNING: All local changes and commits will be lost!"
|
||||
|
||||
echo ""
|
||||
echo "*** WARNING: These local commits will be lost:"
|
||||
git log "${upstream}..HEAD" --oneline
|
||||
|
||||
echo ""
|
||||
echo "*** WARNING: These local files will be reset:"
|
||||
git diff "HEAD..${upstream}" --name-only
|
||||
|
||||
printf "\nExecute [Y,N]?"; read -r yn
|
||||
if [ "$yn" = "${yn#[Yy]}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user