tfs - GIT and ignore existing data -



tfs - GIT and ignore existing data -

i have git repository on nas. utilize windows , linux smartgit/hg interface it. had took old repository create in tfs , convert git one, far (difficult procedure had success). new project can tell git (before first "commit") directory want exclude, converted repository automatically set in git directory heritace tfs. suppose tfs had alter of directory.

so thought can tell git ignore directory smartgit/hg seems if directory/file committed 1 time can't set ignore directory, how can tell git ignore future directory?

you need remove folder index (but not disk):

git rm --cached -r yourfolder

(see "gitignore after commit" , "how remove directory in github repository?")

then .gitignore able ignore folder.

yourfolder/

git tfs ignore

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -