Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
Build and Push Docker Images / build (push) Canceled after 0s
Desktop Release / Build linux desktop (push) Canceled after 0s
Desktop Release / Build windows desktop (push) Canceled after 0s
Desktop Release / Attach packages to release (push) Canceled after 0s
Desktop Release / Build macos desktop (push) Canceled after 0s
CI / Typecheck and unit tests (push) Canceled after 0s
40 lines
1.6 KiB
Bash
40 lines
1.6 KiB
Bash
# SnapCAD / YakNet cloud configuration.
|
||
# Copy this file to .env and fill in real values. Never commit .env.
|
||
|
||
YAKNET_DB_HOST='127.0.0.1'
|
||
YAKNET_DB_PORT='3306'
|
||
YAKNET_DB_NAME='yaknet_auth'
|
||
YAKNET_DB_USER='root'
|
||
YAKNET_DB_PASS='replace-with-your-database-password'
|
||
|
||
# Run `php database/migrate.php` once to create/update the schema.
|
||
# Leave this false; true is only for one-off automatic schema setup.
|
||
SNAPCAD_AUTO_MIGRATE='false'
|
||
|
||
YAKNET_AUTH_BASE_URL='https://developer-console.yakhub.com.tr'
|
||
YAKNET_CDN_ACCOUNT_JS='https://cdnjs.yakhub.com.tr/ajax/libs/yaknet-account/latest/yaknet-account.js'
|
||
SNAPCAD_CANONICAL_URL='https://snap.yakhub.com.tr'
|
||
SNAPCAD_CALLBACK_URL='https://snap.yakhub.com.tr/callback.php'
|
||
YAKNET_CLIENT_ID='replace-with-oauth-client-id'
|
||
YAKNET_CLIENT_SECRET='replace-with-oauth-client-secret'
|
||
# Space or comma separated OAuth scopes. Defaults to '*'.
|
||
YAKNET_OAUTH_SCOPE='*'
|
||
|
||
# Keep true in production. Set false only for a local development certificate issue.
|
||
YAKNET_OAUTH_VERIFY='true'
|
||
|
||
# Origins allowed to send state-changing requests.
|
||
SNAPCAD_ALLOWED_ORIGINS='https://snap.yakhub.com.tr,http://localhost,http://127.0.0.1'
|
||
|
||
# Request and storage limits.
|
||
SNAPCAD_MAX_BODY_BYTES='8388608'
|
||
SNAPCAD_MAX_PROJECT_BYTES='4194304'
|
||
SNAPCAD_MAX_PROJECTS_PER_USER='200'
|
||
SNAPCAD_MAX_STORAGE_BYTES_PER_USER='104857600'
|
||
|
||
# Client-supplied SSO payloads are never trusted. Use OAuth callback or a verified token.
|
||
SNAPCAD_ENABLE_CLIENT_SSO_SYNC='false'
|
||
|
||
# Masaüstü uygulaması (SnapCAD.exe) oturum token geçerlilik süresi (gün). Aktif kullanımda otomatik uzar.
|
||
SNAPCAD_DESKTOP_TOKEN_TTL_DAYS='180'
|