You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**WARNING: This literally just takes all of one side it's not selective**.
24
+
25
+
If you are already in the merging state and have conflicts and want to take all of ours or theirs you can use one of following.
26
+
If you are unclear what `theirs` and `ours` refers to it's best to consult [the docs](https://git-scm.com/docs/git-checkout#Documentation/git-checkout.txt---theirs) and note it matters if you are rebasing (but this section I'm talking about merging).
27
+
28
+
```sh
29
+
git checkout --theirs .
30
+
```
31
+
32
+
If you want to do the opposite:
33
+
34
+
```sh
35
+
git checkout --ours .
36
+
```
37
+
38
+
You can mark all the conflicts resolved after by using `git add .` or `git add -u` to only stage tracked files.
0 commit comments