fix: .cursor в gitignore, sync без git add -A и без .cursor на remotes
This commit is contained in:
+5
-1
@@ -1,4 +1,4 @@
|
|||||||
# Android / Gradle
|
# Android / Gradle
|
||||||
*.iml
|
*.iml
|
||||||
.gradle/
|
.gradle/
|
||||||
/local.properties
|
/local.properties
|
||||||
@@ -27,3 +27,7 @@ app/src/main/java/ru/kalinamall/seaca/ui/screens/DevConnectDefaults.kt
|
|||||||
# Env
|
# Env
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
|
|
||||||
|
# Cursor (не в git — см. repo-policy)
|
||||||
|
.cursor/
|
||||||
|
.cursorignore
|
||||||
|
|||||||
@@ -26,7 +26,10 @@ sync_remote() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
git add -A
|
rm -rf .cursor .cursorignore
|
||||||
|
|
||||||
|
git add -u .
|
||||||
|
git add README.md
|
||||||
if git diff --cached --quiet; then
|
if git diff --cached --quiet; then
|
||||||
echo "[push-remotes] $remote: без изменений"
|
echo "[push-remotes] $remote: без изменений"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user