Skip to content

Sağlanan .gitignore kurallarınca, belirtilen dizini git ihtiyacı olmadan temizleyen bir program.

License

Notifications You must be signed in to change notification settings

SametHope/GitIgnoreExecutor

Repository files navigation

GitIgnoreExecutor - .gitignore Uygulayıcı

See English TLDR below for English.

Sağlanan .gitignore kurallarınca, belirtilen dizini git ihtiyacı olmadan temizleyen bir program.

Bu program seçili bir dizinde, seçilen .gitignore kurallarınca görmezden gelinmesi planlanan dosya ve dizinleri silip, projeyi sanki bir depodan yeni klonlanmış gibi tertemiz hale getirir.

Programın çalışması için sistemde git versiyon kontrol sisteminin yüklü olmasına ve hatta temizlenecek proje için bir git deposu oluşturulmuş olmasına dahi gerek yok. Proje dosyalarının ve temizlik için kullanılacak .gitignore kurallarının sağlanması yeterli.

Kullanım

  1. Programı açınız. 2024-03-04 19_19_46-Window

  2. Hedef kurallarınızı ve dizininizi seçip kutucuğu işaretleyiniz. Çalıştır butonunun aktifleştiğini göreceksiniz. 2024-03-04 19_25_57-Window

  3. Çalıştır butonuna basıp çıkan diyalogda tamama basınız. 2024-03-04 19_26_28-Window

  4. Uyarıyı dikkate alıp seçilen dizin ve .gitignore kurallarından emin olduktan sonra evete basıp devam ediniz. 2024-03-04 19_31_19-Window

  5. Bu bilgi mesajını aldıktan sonra programı kapatabilirsiniz. 2024-03-04 19_31_30-Window

Güvenilirlik

Programın güvenilirliği bu programın deposunun bizzat kendisinin yanı sıra birden fazla bilgisayarda ve git deposunda test edilmiştir ancak herhangi bir garanti verilmez.

Program çalıştırıldığında GitHub Desktop uygulaması işlem yapılan depoda herhangi bir değişiklik algılamamakta, yani git tarafından izi sürülen herhangi bir dosya modifiye edilmemekte ve yalnızca zaten görmezden gelinen dosya ve dizinler beklendiği silinmekte.

Program açık kaynaklı olmasıyla birlikte fonksiyonalitesinin en önemli kısmını Form1.cs kaynak kodu içeriyor, bu kodu bizzat inceleyip programın nasıl çalıştığını rahatlıkla görebilirsiniz.

English TLDR

This is a software to cleanse files and directories from a directory according to a given .gitignore ruleset without requiring git version control system or even a repository.

When run on a directory with a given ruleset, program deletes all file and folders that would have been ignored by git version control system, making the project as clena as if it had just been just cloned from the repository.

This is pretty useful as it does not require git to be installed on the system or even a repository to exist to clean projects from junk files.

This software and repository is primarly using Turkish as it is sort of aimed for my curriculum.

Also see MAB.DotIgnore which provided the necessary API for this project to come alive with ease.

About

Sağlanan .gitignore kurallarınca, belirtilen dizini git ihtiyacı olmadan temizleyen bir program.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages