comparison templates/guide/index.html @ 420:934061e0f672

note: link to FAQ instead of giving *nixy command.
author drak@kaverne
date Thu, 18 Sep 2014 12:53:35 +0200
parents 19a6c35d52ff
children 4224eebf4d95
comparison
equal deleted inserted replaced
419:19a6c35d52ff 420:934061e0f672
585 You also have to commit after a merge when there are no conflicts, because merging creates new history and you might want to attach a specific message to the merge (like "merge feature1"). 585 You also have to commit after a merge when there are no conflicts, because merging creates new history and you might want to attach a specific message to the merge (like "merge feature1").
586 </div> 586 </div>
587 587
588 588
589 <div class="note"> 589 <div class="note">
590 <p class="note-title">Note: Tracking empty folders</p> 590 <p class="note-title">Note:</p>
591 591
592 If you need empty folders which are available after clone, add 592 If you need empty folders which are available after clone, create a
593 a <code>.keep</code> file in the folder and add that. 593 file in the folders and add that. For details and useful tools, see
594 594 the <a href="http://mercurial.selenic.com/wiki/FAQ#FAQ.2FCommonProblems.I_tried_to_check_in_an_empty_directory_and_it_failed.21">empty directory FAQ entry</a>.
595 <pre>$ mkdir emptyfolder
596 $ touch emptyfolder/.keep
597 $ hg add emptyfolder/.keep
598 $ hg commit -m "ensure that emptyfolder is available." emptyfolder/.keep
599
600 </pre>
601
602 To create <code>.keep</code> files for every empty folder, you can use
603 the following command:
604
605 <pre>$ find . -type d -empty -exec touch {}/.keep \;
606
607 </pre>
608 595
609 </div> 596 </div>
610 597
611 <h5>Rollback mistakes</h5> 598 <h5>Rollback mistakes</h5>
612 599