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
release: improve rendering architecture and dark mode
This commit is contained in:
@@ -27,6 +27,7 @@ describe("workplane settings helpers", () => {
|
||||
sizePreset: "",
|
||||
gridBlockSize: 2.5,
|
||||
gridBlockPreset: "Custom",
|
||||
gridColor: "#a34fd1",
|
||||
background: "#123456",
|
||||
showShadows: false,
|
||||
showGrid: false,
|
||||
@@ -43,6 +44,7 @@ describe("workplane settings helpers", () => {
|
||||
width: 500,
|
||||
gridBlockSize: 2.5,
|
||||
gridBlockPreset: "Custom",
|
||||
gridColor: "#a34fd1",
|
||||
background: "#123456",
|
||||
showShadows: false,
|
||||
showGrid: false,
|
||||
@@ -53,6 +55,10 @@ describe("workplane settings helpers", () => {
|
||||
});
|
||||
|
||||
expect(normalizeWorkspaceSettings({ accuracy: 9 }, fallback).accuracy).toBe(fallback.accuracy);
|
||||
expect(normalizeWorkspaceSettings({ historyLimit: 73 }).historyLimit).toBe(73);
|
||||
expect(normalizeWorkspaceSettings({ historyLimit: 9000 }).historyLimit).toBe(5000);
|
||||
expect(normalizeWorkspaceSettings({ historyLimit: "invalid" }).historyLimit).toBe("unlimited");
|
||||
expect(normalizeWorkspaceSettings({ gridColor: "not-a-color" }).gridColor).toBe(DEFAULT_WORKPLANE_WORKSPACE.gridColor);
|
||||
});
|
||||
|
||||
it("keeps scale options in the selected unit family", () => {
|
||||
|
||||
Reference in New Issue
Block a user