Add advice on using git
This commit is contained in:
parent
c7c34c1d79
commit
3b376b8946
1 changed files with 14 additions and 0 deletions
14
tools/git-usage.md
Normal file
14
tools/git-usage.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Git Usage
|
||||||
|
|
||||||
|
## When NOT to manually resolve merge conflicts
|
||||||
|
|
||||||
|
When it's an automatically generated file!
|
||||||
|
|
||||||
|
For composer.json:
|
||||||
|
|
||||||
|
```
|
||||||
|
rm composer.lock
|
||||||
|
ddev composer update
|
||||||
|
git add composer.lock
|
||||||
|
git commit
|
||||||
|
```
|
Loading…
Reference in a new issue