This document is writtend by 2022-04-01.
| name | purpose |
|---|---|
| main | Deploy to netlify |
| develop | Develop or Fix system |
| test | Testing new modules |
Check out, these Git Commands
- Branches
- Naming
git tag // check all tags
git tag "tag_name" // tagging on HEAD in local
git push --tags // push all tags from local to origin repo
git tag -d "tag_name" // delete tag by tag_name in local
git push origin --delete "tag_name" // delete tag by tag_name in origin// Check commit and branch
git branch // check branch, using now.
git branch -r // check branch, using in repo now.
git branch -v // check last commit message in branch, using now.
// Create and Delete branch in loacl and repo
git branch branch_name // create branch
git branch -d branch_name // delete branch
git branch -D branch_anem // delete brnach with forced,
git push origin --delete branch_name // delete branch in repo
git push origin -u origin branch_name // push branch data to repo
// Using branch
git switch branch_name // switch branch
// Restore
git restore // Restore unstaged files
git restore --staged // Resotre staged files
// Merge : "git merge" foward to HEAD, so, first you checkout HEAD
git checkout main
git merge branch_name
git branch -d branch_name
git push origin branch_name| Commit | Detailes |
|---|---|
| TEST | Test branches or etc ... |
| INITIAL | Initial settings |
| MARKDOWN ADD,DEL,FIX | ADD~FIX MARKDOWN |
| ADD function | Typed detials about function with updated date |
| DEL function | Typed detials about function with updated date |
| FIX function | Typed detials about function with updated date |
| Ver.1.0.0 | Version means release version for netlify |