I am converting my source code from TFS to Git and I want to convert any .tpattributes
files into .gitattributes
files.
It appears the pattern syntax is the same for both files, so I am wondering if it as simple as renaming my .tpattributes
files to .gitattributes
files?
Or will more need to be done to ensure the syntax is compatible with Git?
You can start by renamming the .tpattributes
files, but, do check (with a git status before and after) that it does not ignore too much.
As mentioned in this answer
.tpattributes
are not recursive. (In fact, they cannot be, since you can have advanced workspace mappings.)
You will need a.tpattributes
in each folder.
However, a .gitignore
applies to the current folder, and all folders below.