Einzelnen Beitrag anzeigen

Glados
(Gast)

n/a Beiträge
 
#10

AW: Verständnisfrage zu Tortoisegit

  Alt 21. Jul 2017, 15:13
Zitat:
Du kannst natürlich über .gitignore Files steuern was überhaupt gespeichert werden soll und was nicht.
Ich verwende dafür diesen Helfer:

Zitat:

# Created by https://www.gitignore.io/api/delphi

### Delphi ###
# Uncomment these types if you want even more clean repository. But be careful.
# It can make harm to an existing project source. Read explanations below.
#
# Resource files are binaries containing manifest, project icon and version info.
# They can not be viewed as text or compared by diff-tools. Consider replacing them with .rc files.
#*.res
#
# Type library file (binary). In old Delphi versions it should be stored.
# Since Delphi 2009 it is produced from .ridl file and can safely be ignored.
#*.tlb
#
# Diagram Portfolio file. Used by the diagram editor up to Delphi 7.
# Uncomment this if you are not using diagrams or use newer Delphi version.
#*.ddp
#
# Visual LiveBindings file. Added in Delphi XE2.
# Uncomment this if you are not using LiveBindings Designer.
#*.vlb
#
# Deployment Manager configuration file for your project. Added in Delphi XE2.
# Uncomment this if it is not mobile development and you do not use remote debug feature.
#*.deployproj
#
# C++ object files produced when C/C++ Output file generation is configured.
# Uncomment this if you are not using external objects (zlib library for example).
#*.obj
#

# Delphi compiler-generated binaries (safe to delete)
*.exe
*.dll
*.bpl
*.bpi
*.dcp
*.so
*.apk
*.drc
*.map
*.dres
*.rsm
*.tds
*.dcu
*.lib
*.a
*.o
*.ocx

# Delphi autogenerated files (duplicated info)
*.cfg
*.hpp
*Resource.rc

# Delphi local files (user-specific info)
*.local
*.identcache
*.projdata
*.tvsconfig
*.dsk

# Delphi history and backups
__history/
__recovery/
*.~*

# Castalia statistics file (since XE7 Castalia is distributed with Delphi)
*.stat

# End of https://www.gitignore.io/api/delphi
Durch einen aktuellen Bug in 10.2, der das Hauptformular einfach in der Höhe ändert ohne den Nutzer zu fragen (ist schließlich ein Bug),
hat man in quasi jedem Commit noch DFM-Dateien drin die man eigentlich gar nicht geändert hat.

Bei C++ ist das wesentlich einfacher und sauberer. Bei Delphi muss man je nach Projekt seine eigene gitignore-Regeln erstellen.
  Mit Zitat antworten Zitat