This workflow is designed to exercise all the GIT functionality for a component
Workflow
Expand |
---|
title | SETP STEP 1: Create a component with a new repository |
---|
|
|
Expand |
---|
title | SETP STEP 2: Make an initial commit and inspect the repository |
---|
|
|
Expand |
---|
title | SETP STEP 3: Make some changes in main() commit & push then inspect the repository |
---|
|
|
Expand |
---|
title | SETP STEP 4: Add files commit & push then inspect the repository |
---|
|
|
Expand |
---|
title | SETP STEP 5: Rename files and directories, commit & push then inspect the repository |
---|
|
Add a directory or directories Add a file in each directory Commit and push the changes Confirm the change is showing in the repo
|
Expand |
---|
title | SETP STEP 6: Add some directories containing files, commit & push then inspect the repository |
---|
|
Rename a file or files Rename a directory or directories Commit and push the changes Confirm the changes are showing in the repo
|
Expand |
---|
title | SETP STEP 7: Move and copy files between directories, commit & push then inspect the repository <add video> |
---|
|
|
...
file & dir names are not case sensitive so cannot rename Test to test
If you move the last file out of a dir the empty dir will be deleted = bug imho
Add empty directories but there is no change to commit – does not commit empty dir