Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

This workflow is designed to exercise all the GIT functionality for a component

 STEP 1: Create a component with a new repository
  • Create a component from the dashboard

    • Create a repository for the component

      • Double click the new component name to open

      • Use Customize to change the repository – does it work

        • Remove upstream

        • Click [Setup] to create a new repository

      • Alternatively create as editable

        • Click [Set Up] to create a new repository

  • See STEP 1: How do I edit a template component for more details on creating a component

 STEP 2: Make an initial commit and inspect the repository
  • Work with a component

    • Changes in main()

      • Make a comment and commit – this worked

        • Confirmed the file is showing in the repo

 STEP 3: Make some changes in main() commit & push then inspect the repository
  • Add a comment in main()

  • Commit and push the change

  • Confirm the change is showing in the repo

 STEP 4: Add files commit & push then inspect the repository
  • Add a file or files

  • Commit and push the change

  • Confirm the change is showing in the repo

 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

 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

 STEP 7: Move and copy files between directories, commit & push then inspect the repository <add video>
  • Drag a file from one directory to another

  • Copy and Paste a file using the menu

 Add the component to a collection

See step 5 on this page How do I edit a template component?

  • 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

  • No labels