<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2166/3/7/_/styles/combined.css?spaceKey=TOP&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/TOP/Using+Git%27s+%27subtree%27+mechanism+for+the+CMake+build+system?focusedCommentId=17793160#comment-17793160">Using Git&#39;s &#39;subtree&#39; mechanism for the CMake build system</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~kpfleming">Kevin P. Fleming</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>That's correct; .gitignore does not override files that are already tracked. There shouldn't be any tracked files in the 'cmake' subdirectory though, unless these instructions are missing something. How did you end up with it noticing changes in the subtree directory?</p>
    </div>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/wiki/display/~dlee"
                          class="url fn confluence-userlink" data-username="dlee"
                   >David M. Lee</a>:</strong><br/>
        <blockquote><p>In order to avoid accidentally changing the content of the 'cmake' subdirectory in the future, it should be added to the '.gitignore' file.</p></blockquote>

<p>This doesn't seem to ignore changes to files that git already tracks.  Is there some other way to avoid accidental changes?</p>
        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
      <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=TOP">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://wiki.asterisk.org/wiki/display/TOP/Using+Git%27s+%27subtree%27+mechanism+for+the+CMake+build+system?focusedCommentId=17793160#comment-17793160">View Online</a>
              |
       <a id="reply-17793160" href="https://wiki.asterisk.org/wiki/display/TOP/Using+Git%27s+%27subtree%27+mechanism+for+the+CMake+build+system?replyToComment=17793160#comment-17793160">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>