BRANCH?
If you wanna develop new function, fix bug, ..
How..?
Just Copy repository?
How to solve merge problem, etc ..
Once upon a time…..bula bula..
OR
Use Git Branch
NEW BRANCH
git branch
git branch dev
COMMIT TO EACH BRANCH
git checkout dev
vi index.html(body tag)
git checkout master
vi index.html(head tag)
BRANCH MERGE
git checkout master
git merge dev
BRANCH REMOVE
git banch dump
git checkout dumb
git branch -d dumb
MERGE CONFLICT
git branch dev2
vi index.html(modify body tag)
git add & commit
git checkout master
vi index.html(modify body tag)
git add & commit
git merge dev2
DEFENDE CONFLICT
- Frequently update from master branch
- Update before commit
- …???