summaryrefslogtreecommitdiff
path: root/content/cheatsheets/git.md
blob: afeb11b3681e72a396f05860b08900f7d7684fef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
+++
title = "git"
disable_share = true
+++

# Configuration

## Set username and email

```bash
git config --global user.name "Adam Olech"
git config --global user.email "nddr89@gmail.com"
```

## Fix up partially added submodule

```bash
git submodule add --force https://github.com/google/googletest.git googletest
```