Viewing a file
You can view the files in your source repository in the Amazon CodeCatalyst console. You can view the files in the default branch and in any other branches. File contents might vary depending on the branch you choose to view.
To view files in the CodeCatalyst console
-
Navigate to the project where you want to view files. For more information, see Viewing a source repository.
-
Choose the name of the repository from the list of source repositories for the project. Alternatively, in the navigation pane, choose Code, and then choose Source repositories.
Choose the repository where you want to view files.
-
A list of files and folders are displayed for the default branch. Files are indicated by a paper icon, while folders are indicated by a folder icon.
-
Do any of the following:
-
To view files and folders in a different branch, choose it from the list of branches.
-
To expand a folder, choose it from the list.
-
-
To view the contents of a specific file, choose it from the list. The contents of the file will be displayed in the branch. To view the contents of the file in a different branch, choose the branch you want from the branch selector.
Tip
When viewing the contents of a file, you can choose additional files to view from View files. To edit a file, choose Edit.
You can view multiple files in the console. You can also view files that you have cloned to your local computer using a Git client or an integrated development environment (IDE). For more information, see the documentation for your Git client or IDE.
Note
You cannot view Git submodules in the CodeCatalyst console. For more information about Git submodules, see the Git
documentation