Reupload in new branch: Difference between revisions
Created page with "= Guide to reupload files into GitHub branches = If you already made a pull request into the KidsaKoder repository, please use this guide in order to redo it with the use of branching, according to KidsaKoder requirements and rules. It will make processing of requests a lot easier for KidsaKoder representatives. == 1. Make sure you in YOUR fork master and go to forlder with tasks that you uploaded. (We use task called “soloball” as example). == Image:branch-reup-..." |
No edit summary |
||
Line 2: | Line 2: | ||
If you already made a pull request into the KidsaKoder repository, please use this guide in order to redo it with the use of branching, according to KidsaKoder requirements and rules. It will make processing of requests a lot easier for KidsaKoder representatives. | If you already made a pull request into the KidsaKoder repository, please use this guide in order to redo it with the use of branching, according to KidsaKoder requirements and rules. It will make processing of requests a lot easier for KidsaKoder representatives. | ||
== 1. Make sure you in | == 1. Check your "master" == | ||
1. Make sure you in '''your''' fork master and go to forlder with tasks that you uploaded. (We use task called “soloball” as example). | |||
[[Image:branch-reup-1.png|center|700px]] | [[Image:branch-reup-1.png|center|700px]] | ||
== 2. Download files== | |||
1. Open the file you uploaded by clicking on it. | |||
[[Image:branch-reup-2-1.png|center|700px]] | |||
2. Press “Download raw file”. | |||
[[Image:branch-reup-2-2.png|center|700px]] | |||
==3. Remove files from '''your''' masters folder. == | |||
3.1 Press button with three dots and press “Delete file” | |||
[[Image:branch-reup-3-1.png|center|700px]] | |||
3.2 Press “Commit changes...” | |||
[[Image:branch-reup-3-2.png|center|700px]] | |||
3.3 Press “Commit changes” | |||
[[Image:branch-reup-3-3.png|center|700px]] | |||
== 4. Create new branch of your fork.== | |||
4.1. Find YOUR KidsaKoder fork and click on it | |||
[[Image:branch-reup-4-1.png|center|700px]] | |||
4.2 Click on “Branches” | |||
[[Image:branch-reup-4-2.png|center|700px]] | |||
4.3 Click on “New branch” | |||
[[Image:branch-reup-4-3.png|center|700px]] | |||
4.4 Name new branch wtith same nas as task you uploading and press “Create new branch” | |||
[[Image:branch-reup-4-4.png|center|700px]] | |||
==5. Upload old files into your new branch.== | |||
5.1 Open your newly created branch. | |||
[[Image:branch-reup-5-1.png|center|700px]] | |||
5.2 Make sure you uploading file into '''your branch''' and not '''master'''. Find folder with task you going to upload. Press “Add file” button and in popped out menu press “Upload files”. | |||
[[Image:branch-reup-5-2.png|center|700px]] | |||
5.3 Drag or upload files into field. Write what changes youd did. Click on “Commit changes”. | |||
[[Image:branch-reup-5-3.png|center|700px]] | |||
==6. Create pull request to KidsaKoder repository.== | |||
6.1 Click on “Compare & pull request” | |||
[[Image:branch-reup-6-1.png|center|700px]] | |||
6.2 Write short description of what you add and press “Create pull request”. Notice how the title is the same as branch name that you created earlier. | |||
[[Image:branch-reup-6-2.png|center|700px]] | |||
6.3 You can check your commit by pressing on “Pull request” bar. | |||
[[Image:branch-reup-6-3.png|center|700px]] |
Revision as of 14:26, 10 November 2024
Guide to reupload files into GitHub branches
If you already made a pull request into the KidsaKoder repository, please use this guide in order to redo it with the use of branching, according to KidsaKoder requirements and rules. It will make processing of requests a lot easier for KidsaKoder representatives.
1. Check your "master"
1. Make sure you in your fork master and go to forlder with tasks that you uploaded. (We use task called “soloball” as example).
2. Download files
1. Open the file you uploaded by clicking on it.
2. Press “Download raw file”.
3. Remove files from your masters folder.
3.1 Press button with three dots and press “Delete file”
3.2 Press “Commit changes...”
3.3 Press “Commit changes”
4. Create new branch of your fork.
4.1. Find YOUR KidsaKoder fork and click on it
4.2 Click on “Branches”
4.3 Click on “New branch”
4.4 Name new branch wtith same nas as task you uploading and press “Create new branch”
5. Upload old files into your new branch.
5.1 Open your newly created branch.
5.2 Make sure you uploading file into your branch and not master. Find folder with task you going to upload. Press “Add file” button and in popped out menu press “Upload files”.
5.3 Drag or upload files into field. Write what changes youd did. Click on “Commit changes”.
6. Create pull request to KidsaKoder repository.
6.1 Click on “Compare & pull request”
6.2 Write short description of what you add and press “Create pull request”. Notice how the title is the same as branch name that you created earlier.
6.3 You can check your commit by pressing on “Pull request” bar.