Resolve conflicts
λ echo a = 10 >> myfile.py
λ git commit -m "Added variable a"
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: myfile.py
no changes added to commit (use "git add" and/or "git commit -a")
λ git add myfile.py
λ git commit -m "Added variable a"
[master 349921c] Added variable a
1 file changed, 1 insertion(+)λ git checkout newh
Switched to branch 'new'
λ echo a = 20 >> myfile.py
λ git add myfile.py
λ git commit -m "Added variable a"
[new 9efb6e7] Added variable a
1 file changed, 1 insertion(+)Last updated