{"_id":"5bb5113337088700035a101b","project":"54cf411f9d09bb0d00a17a1c","version":{"_id":"54cf411f9d09bb0d00a17a1f","project":"54cf411f9d09bb0d00a17a1c","__v":15,"createdAt":"2015-02-02T09:19:27.656Z","releaseDate":"2015-02-02T09:19:27.656Z","categories":["54cf41209d09bb0d00a17a20","54cfb99bbba1a023008741af","54cfb9a65ff7e617002bbd7f","54cfba03bba1a023008741b6","54cfba0ebba1a023008741b8","54cfba19bba1a023008741b9","54cfba29bba1a023008741bb","54cfba345ff7e617002bbd87","54cfba3ebba1a023008741bc","54cfba473995cf0d0006f6f0","54e371b18ef7552300409bf2","54e37aa5e887c50d005ef629","555a4e9b147f91190092d137","56b0e91802f4bc0d006ce254","5bb4f4e01635b500032b94fd"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5bb4f4e01635b500032b94fd","project":"54cf411f9d09bb0d00a17a1c","version":"54cf411f9d09bb0d00a17a1f","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-10-03T16:57:04.619Z","from_sync":false,"order":7,"slug":"migrating","title":"Migrating to AWS Cloud9"},"user":"5bac0709475b5d000364fa42","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-10-03T18:57:55.987Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":8,"body":"In an earlier phase of this migration, you followed instructions for [Uploading Files to a Source Code Repository](uploading-files-to-a-source-code-repository). In this phase, you download those folders and files from that source code repository into your new AWS Cloud9 environment (an activity also known as *pulling* from a repository). \n\n# To pull folders and files from AWS CodeCommit\n\n* **To connect your AWS Cloud9 IDE to an AWS CodeCommit repository and make an initial pull from it at the same time**, see [Connect to an AWS CodeCommit Repository](https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-connect.html) in the *AWS CodeCommit User Guide*.\n* **To make subsequent pulls of folders and files from a connected AWS CodeCommit repository**, see [Synchronize Changes Between a Local Repo and an AWS CodeCommit Repository](https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-sync-changes.html) in the *AWS CodeCommit User Guide*.\n\nWhen you're done, [return to the migration checklist](migration-checklist#section-step-4-upload-folders-and-files-to-your-new-environment).\n\n# To pull folders and files from GitHub\n\n* **To initially connect your AWS Cloud9 IDE to a GitHub repository (an activity also known as *cloning*) and make an initial pull from it at the same time**, see [Cloning a repository](https://help.github.com/articles/cloning-a-repository/#platform-linux) on the GitHub Help website.\n* **To make subsequent pulls of folders and files from a connected GitHub repository**, see [Pull](https://help.github.com/articles/fetching-a-remote/#pull) on the GitHub Help website.\n\nWhen you're done, [return to the migration checklist](migration-checklist#section-step-4-upload-folders-and-files-to-your-new-environment).\n\n# To pull folders and files from Bitbucket\n\n* **To initially connect your AWS Cloud9 IDE to a Bitbucket repository (an activity also known as *cloning*) and make an initial pull from it at the same time**, see [Clone a repository](https://confluence.atlassian.com/get-started-with-bitbucket/clone-a-repository-861178563.html) on the Bitbucket Support website.\n* **To make subsequent pulls of folders and files from a connected Bitbucket repository**, see [Pull code from Bitbucket](https://confluence.atlassian.com/get-started-with-bitbucket/pull-code-from-bitbucket-861185311.html) on the Bitbucket Support website.\n\nWhen you're done, [return to the migration checklist](migration-checklist#section-step-4-upload-folders-and-files-to-your-new-environment).","excerpt":"","slug":"downloading-files-from-a-source-code-repository","type":"basic","title":"Downloading Files from a Source Code Repository"}

Downloading Files from a Source Code Repository


In an earlier phase of this migration, you followed instructions for [Uploading Files to a Source Code Repository](uploading-files-to-a-source-code-repository). In this phase, you download those folders and files from that source code repository into your new AWS Cloud9 environment (an activity also known as *pulling* from a repository). # To pull folders and files from AWS CodeCommit * **To connect your AWS Cloud9 IDE to an AWS CodeCommit repository and make an initial pull from it at the same time**, see [Connect to an AWS CodeCommit Repository](https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-connect.html) in the *AWS CodeCommit User Guide*. * **To make subsequent pulls of folders and files from a connected AWS CodeCommit repository**, see [Synchronize Changes Between a Local Repo and an AWS CodeCommit Repository](https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-sync-changes.html) in the *AWS CodeCommit User Guide*. When you're done, [return to the migration checklist](migration-checklist#section-step-4-upload-folders-and-files-to-your-new-environment). # To pull folders and files from GitHub * **To initially connect your AWS Cloud9 IDE to a GitHub repository (an activity also known as *cloning*) and make an initial pull from it at the same time**, see [Cloning a repository](https://help.github.com/articles/cloning-a-repository/#platform-linux) on the GitHub Help website. * **To make subsequent pulls of folders and files from a connected GitHub repository**, see [Pull](https://help.github.com/articles/fetching-a-remote/#pull) on the GitHub Help website. When you're done, [return to the migration checklist](migration-checklist#section-step-4-upload-folders-and-files-to-your-new-environment). # To pull folders and files from Bitbucket * **To initially connect your AWS Cloud9 IDE to a Bitbucket repository (an activity also known as *cloning*) and make an initial pull from it at the same time**, see [Clone a repository](https://confluence.atlassian.com/get-started-with-bitbucket/clone-a-repository-861178563.html) on the Bitbucket Support website. * **To make subsequent pulls of folders and files from a connected Bitbucket repository**, see [Pull code from Bitbucket](https://confluence.atlassian.com/get-started-with-bitbucket/pull-code-from-bitbucket-861185311.html) on the Bitbucket Support website. When you're done, [return to the migration checklist](migration-checklist#section-step-4-upload-folders-and-files-to-your-new-environment).