github.com/shved/got@v0.0.0-20230322140632-a4bfa1e99685/README.md (about)

     1  # Q&A
     2  
     3  Q: What is Got?<br/>
     4  A: It is a fully not distributed, purely local CVS
     5  
     6  Q: Do I need Got?<br/>
     7  A: Absolutely not
     8  
     9  Q: Why should I use Got when I have Git?<br/>
    10  A: You shouldn't
    11  
    12  Q: What was the reason to introduce Got?<br/>
    13  A: Absolutely no reason, just pure fun
    14  
    15  Q: Why Got is missing feature X, Y, Z?<br/>
    16  A: Because it is oversimplified Git
    17  
    18  # Installation
    19  
    20  * clone the repo
    21  * build it with `make build`
    22  * put the output file to your executables path
    23  
    24  # Usage
    25  
    26  ```
    27  got init                                        // to init a repo in current dir
    28  got commit 'initial commit'                     // to commit the state
    29  got log                                         // to see commits list
    30  got to d143528ac209d5d927e485e0f923758a21d0901e // to restore a commit
    31  got current                                     // to see current head commit hash
    32  ```
    33  
    34  # TODO
    35  - [x] got log
    36  - [x] add commands success messages
    37  - [x] documentation comments
    38  - [x] test
    39  - [ ] show commits diff
    40  - [ ] support branches
    41  - [ ] support .gotignore file among with default ingore entries
    42  - [ ] ignore nested empty folders
    43  - [ ] reduce system calls (especially io)
    44  - [ ] server and client over ssh
    45  - [ ] keep files permissions when checkout to commit
    46  - [ ] command to delete hanging commits
    47  - [ ] experiment with object compression level
    48  - [ ] atomic commit writing