(created/git2cpp.md)=
# git2cpp

```{parsed-literal}
Git using C++ wrapper of libgit2


git2cpp [OPTIONS] [SUBCOMMAND]


OPTIONS:
&nbsp; -h,     --help              Print this help message and exit
&nbsp; -v,     --version           Show version

SUBCOMMANDS:
&nbsp; [init](created/git2cpp/init.md)                        Explanation of init here
&nbsp; [status](created/git2cpp/status.md)                      Show modified files in working directory, staged for your next
&nbsp;                             commit
&nbsp; [add](created/git2cpp/add.md)                         Add file contents to the index
&nbsp; [branch](created/git2cpp/branch.md)                      List, create or delete branches
&nbsp; [checkout](created/git2cpp/checkout.md)                    Switch branches or restore working tree files
&nbsp; [clone](created/git2cpp/clone.md)                       Clone a directory into a new repository
&nbsp; [commit](created/git2cpp/commit.md)                      Record changes to the repository
&nbsp; [config](created/git2cpp/config.md)                      Get and set repository or global options
&nbsp; [diff](created/git2cpp/diff.md)                        Show changes between commits, commit and working tree, etc
&nbsp; [fetch](created/git2cpp/fetch.md)                       Download objects and refs from another repository
&nbsp; [reset](created/git2cpp/reset.md)                       Reset current HEAD to the specified state
&nbsp; [log](created/git2cpp/log.md)                         Shows commit logs
&nbsp; [merge](created/git2cpp/merge.md)                       Join two or more development histories together
&nbsp; [mv](created/git2cpp/mv.md)                          Move or rename a file, a directory, or a symlink
&nbsp; [push](created/git2cpp/push.md)                        Update remote refs along with associated objects
&nbsp; [rebase](created/git2cpp/rebase.md)                      Reapply commits on top of another base tip
&nbsp; [remote](created/git2cpp/remote.md)                      Manage set of tracked repositories
&nbsp; [rev-list](created/git2cpp/rev-list.md)                    Lists commit objects in reverse chronological order
&nbsp; [rev-parse](created/git2cpp/rev-parse.md)                   Pick out and message parameters
&nbsp; [rm](created/git2cpp/rm.md)                          Remove files from the working tree and from the index
&nbsp; [stash](created/git2cpp/stash.md)                       Stash the changes in a dirty working directory away

&nbsp; [tag](created/git2cpp/tag.md)                         Create, list, delete or verify tags
&nbsp; [show-ref](created/git2cpp/show-ref.md)                    List references in a local repository
```

```{toctree}
:hidden:
git2cpp/add
git2cpp/branch
git2cpp/checkout
git2cpp/clone
git2cpp/commit
git2cpp/config
git2cpp/diff
git2cpp/fetch
git2cpp/init
git2cpp/log
git2cpp/merge
git2cpp/mv
git2cpp/push
git2cpp/rebase
git2cpp/remote
git2cpp/reset
git2cpp/rev-list
git2cpp/rev-parse
git2cpp/rm
git2cpp/show-ref
git2cpp/stash
git2cpp/status
git2cpp/tag
```
