├── README.md └── img ├── THE-DANGER-ZONE.png ├── contribution-count.png ├── contribution-graph-heat-map.png ├── copy-new-repo-URL.png ├── create-new-repository.png ├── enter-the-project-name.png ├── local-git-repo-pushed-to-new-GH-repo.png ├── rename.png ├── scroll-down-to-the-bottom.png ├── select-New-repository.png ├── select-the-project-Settings-tab.png └── update-contribution-count.png /README.md: -------------------------------------------------------------------------------- 1 | ### UPDATE 2 | 3 | We recommend against de-forking while in class - just so all the links submitted stay active. But, you don't really need to de-fork anything. 4 | 5 | All the commit history lives in the `.git` folder in the local Git repo directory - you just need to get the project up to GitHub. This can be as simple as: 6 | 7 | 1. creating a new repo on GitHub, 8 | 2. giving it a unique name to help distinguish it in your GitHub repository list, and 9 | 3. pushing the project up to the new GitHub repository. 10 | 11 | It might help to make a "Team" to keep the "active student" repositories separate from the ones pushed up for the heatmap. 12 | 13 | Lambda School's 2019 [Git branching workflow](https://youtu.be/cSoHP7WSsEg) will result in contributions reflected in your GitHub heatmap. 14 | 15 | Latest update: 2/8/2019 :octocat: 16 | 17 | *** 18 | 19 |
THE FOLLOWING IS DEPRECATED

20 | 21 | # GitHub Contribution Graph 22 | :octocat: 23 | 24 | ![Heat Map](img/contribution-graph-heat-map.png) 25 | 26 | ### Please take a moment to review GitHub's "[Learn How We Count Contributions](https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile)" page. In particular the "[Commit Was Made In A Fork](https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/#commit-was-made-in-a-fork)" section. If you'd like all of your work to be reflected on your GitHub Contribution Graph, you can do the following: 27 | 28 | # "De-Forking" Your Project 29 | 30 | 1. **DO NOT DELETE YOUR LOCAL PROJECT!** 31 | 2. If you want your new and "non-forked" GitHub project name to match the old project name, first [rename](#how-to-rename-your-old-github-repo) or [delete](#how-to-delete-your-old-github-repo) your forked GitHub repository. Do this _**on**_ GitHub. You can access the renaming and deleting options on GitHub in the "Settings" tab of your fork. Don't worry, if you delete your GitHub fork, your local copy will be safe. 32 | 3. Create a new empty repository on GitHub. You are welcome to name it whatever makes sense to you. If you have renamed or deleted the old one, you can give it the same name of the original Lambda School project you are "de-forking" from. 33 | 34 | ![Select "NEW repository"](img/select-New-repository.png) 35 | ![CREATE the new repository](img/create-new-repository.png) 36 | ![COPY the new repository's URL](img/copy-new-repo-URL.png) 37 | 38 | 4. Add the new (and empty) GitHub repository as the "origin" remote to your local git repository. 39 | 40 | ```console 41 | $ git remote -v 42 | origin https://github.com/LambdaSchool-PairStudentA/Preprocessing-I.git (fetch) <--- OLD ORIGIN URL 43 | origin https://github.com/LambdaSchool-PairStudentA/Preprocessing-I.git (push) <---- OLD ORIGIN URL 44 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 45 | $ git remote set-url origin https://github.com/mixelpixel/Preprocessing-I.git <-------- SET NEW ORIGIN URL 46 | $ git remote -v 47 | origin https://github.com/mixelpixel/Preprocessing-I.git (fetch) <------------------ VERIFY NEW ORIGIN URL 48 | origin https://github.com/mixelpixel/Preprocessing-I.git (push) >------------------- VERIFY NEW ORIGIN URL 49 | ^^^^^^^^^^ 50 | ``` 51 | 52 | 5. Push your local project to the new GitHub repository. 53 | 54 | ```console 55 | $ git push origin master 56 | Counting objects: 111, done. 57 | Delta compression using up to 4 threads. 58 | Compressing objects: 100% (77/77), done. 59 | Writing objects: 100% (111/111), 594.93 KiB | 45.76 MiB/s, done. 60 | Total 111 (delta 27), reused 111 (delta 27) 61 | remote: Resolving deltas: 100% (27/27), done. 62 | To https://github.com/mixelpixel/Preprocessing-I.git 63 | * [new branch] master -> master 64 | ``` 65 | 66 | ![Local repository pushed to StudentB's NEW and NON-FORKED GitHub repository](img/local-git-repo-pushed-to-new-GH-repo.png) 67 | 68 | ### BEFORE: 69 | 70 | ![Previous contribution count](img/contribution-count.png) 71 | 72 | ### AFTER: 73 | 74 | ![New and improved contribution count](img/update-contribution-count.png) 75 | 76 | *** 77 | 78 | # How to RENAME your old GitHub Repo. 79 | 80 | ![Rename your "OLD" repository](img/rename.png) 81 | 82 |

Go back to "De-Forking"

83 | 84 | *** 85 | 86 | # How to DELETE your old GitHub Repo. 87 | 1. Select the "Settings" tab. 88 | 89 | ![Select the SETTINGS tab](img/select-the-project-Settings-tab.png) 90 | 91 | 2. Scroll down to "The Danger Zone." 92 | 93 | ![SCROLL down to the DANGER ZONE](img/scroll-down-to-the-bottom.png) 94 | 95 | 3. Press the red button! 96 | 97 | [![DELETE this repository](img/THE-DANGER-ZONE.png)](https://youtu.be/siwpn14IE7E) 98 | 99 | :point_up: Click :point_up: on :point_up: this :point_up: picture :point_up: before you enter "The Danger Zone" :+1: 100 | 101 | 4. Confirm you are not a robot and press the [BIG RED BUTTON](http://abstrusegoose.com/10)! 102 | 103 | ![Enter the PROJECT name and press the BIG RED BUTTON](img/enter-the-project-name.png) 104 | 105 |

Go back to "De-Forking"

106 | 107 | :octocat: 108 | 109 | 110 |

111 | -------------------------------------------------------------------------------- /img/THE-DANGER-ZONE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/THE-DANGER-ZONE.png -------------------------------------------------------------------------------- /img/contribution-count.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/contribution-count.png -------------------------------------------------------------------------------- /img/contribution-graph-heat-map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/contribution-graph-heat-map.png -------------------------------------------------------------------------------- /img/copy-new-repo-URL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/copy-new-repo-URL.png -------------------------------------------------------------------------------- /img/create-new-repository.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/create-new-repository.png -------------------------------------------------------------------------------- /img/enter-the-project-name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/enter-the-project-name.png -------------------------------------------------------------------------------- /img/local-git-repo-pushed-to-new-GH-repo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/local-git-repo-pushed-to-new-GH-repo.png -------------------------------------------------------------------------------- /img/rename.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/rename.png -------------------------------------------------------------------------------- /img/scroll-down-to-the-bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/scroll-down-to-the-bottom.png -------------------------------------------------------------------------------- /img/select-New-repository.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/select-New-repository.png -------------------------------------------------------------------------------- /img/select-the-project-Settings-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/select-the-project-Settings-tab.png -------------------------------------------------------------------------------- /img/update-contribution-count.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/GitHub-Contribution-Graph/f303b110f768f18f9a3976e2f979570176f76d20/img/update-contribution-count.png --------------------------------------------------------------------------------