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
Ship shared projects and CAD reliability updates
This commit is contained in:
@@ -6,6 +6,7 @@ import { canonicalizeShape } from "@/lib/workplaneShapes";
|
||||
import {
|
||||
exportSkfProject,
|
||||
importSkfProject,
|
||||
inspectSkfProjectPackage,
|
||||
SKF_FORMAT_VERSION,
|
||||
SKF_SCHEMA_ID,
|
||||
type SkfProjectDocumentV1,
|
||||
@@ -96,6 +97,7 @@ describe("SketchForge .skf project packages", () => {
|
||||
|
||||
const exported = await exportSkfProject(input(shapes));
|
||||
const { document } = packageDocument(exported);
|
||||
const summary = await inspectSkfProjectPackage(exported);
|
||||
const restored = await importSkfProject(exported);
|
||||
|
||||
expect(restored.projectName).toBe("Round trip");
|
||||
@@ -104,6 +106,12 @@ describe("SketchForge .skf project packages", () => {
|
||||
expect(restored.workspace).toEqual(DEFAULT_WORKPLANE_WORKSPACE);
|
||||
expect(restored.snapGrid).toBe(DEFAULT_SNAP_GRID);
|
||||
expect(restored.placementElevation).toBe(12.5);
|
||||
expect(summary).toEqual({
|
||||
projectName: "Round trip",
|
||||
createdAt: 1_700_000_000_000,
|
||||
modifiedAt: 1_700_000_100_000,
|
||||
formatVersion: SKF_FORMAT_VERSION,
|
||||
});
|
||||
expect(document.assets.filter((entry) => entry.kind === "derived-mesh")).toHaveLength(0);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user