This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # part one, put on your scrubs | |
| mkdir git-surgery | |
| cd git-surgery | |
| git clone git@github.com:crunchie84/blogpost-git-surgery-source.git source | |
| cd source | |
| # extract our application from the source repository | |
| git subtree split -P Configuration/application-1 -b rewritten-history-application-1 | |
| # Prepare our new repository |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ContactFinder { | |
| #db; | |
| #chatToFind; | |
| #dbName = "model-storage"; | |
| #chatsCol = "chat"; | |
| #contactCol = "contact"; | |
| #groupCol = "participant"; | |
| constructor(chatGroupName) { | |
| this.#chatToFind = chatGroupName; |
OlderNewer