| | 47 | |
| | 48 | 1.On GitHub.com, navigate to the main page of the repository. |
| | 49 | |
| | 50 | 2.Above the list of files, using the Add file drop-down, click Upload files. |
| | 51 | |
| | 52 | [[Image(https://ws.learn.ac.lk/attachment/wiki/Csle2022/Agenda/githubadministration/upload-files-button.png, 600)]] |
| | 53 | |
| | 54 | 3.Drag and drop the file or folder you'd like to upload to your repository onto the file tree. |
| | 55 | |
| | 56 | [[Image(https://ws.learn.ac.lk/attachment/wiki/Csle2022/Agenda/githubadministration/upload-files-drag-and-drop.png, 600)]] |
| | 57 | |
| | 58 | 4.At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file. You can attribute the commit to more than one author in the commit message. |
| | 59 | |
| | 60 | [[Image(https://ws.learn.ac.lk/attachment/wiki/Csle2022/Agenda/githubadministration/write-commit-message-quick-pull.png, 600)]] |
| | 61 | |
| | 62 | 5.Below the commit message fields, decide whether to add your commit to the current branch or to a new branch. If your current branch is the default branch, you should choose to create a new branch for your commit and then create a pull request. |
| | 63 | |
| | 64 | [[Image(https://ws.learn.ac.lk/attachment/wiki/Csle2022/Agenda/githubadministration/choose-commit-branch.png, 600)]] |
| | 65 | |
| | 66 | 6.Click Commit changes. |
| | 67 | |
| | 68 | [[Image(https://ws.learn.ac.lk/attachment/wiki/Csle2022/Agenda/githubadministration/commit-changes-button.png, 600)]] |
| | 69 | |