- A basic project to allow colleagues learn git, github.
-
Fork this repo.
-
Clone to your local computer.
-
Open index.html in a desktop browser.
-
Click the "Add New Profile" button on the page, a modal comes up. Fill in your correct profile links.
-
Click "Generate Profile HTML" button on the modal form, pprofile HTML will be available in the textarea.
-
Paste the copied HTML code below the last profile (
<dl></dl>
tag) within the index.html file and save.
- Below are the relevant git steps to
git remote add upstream https://github.com/tonyfrenzy/coders-profiles-learn-git.git
Adds the original remote branch to your local repo so that you can check for (merged) updates from other colleagues.
git remote add upstream git@github.com:tonyfrenzy/coders-profiles-learn-git.git
Use this instead if SSH is set up else skip.
git remote -v
To see your remote branches (origin and upstream).git add .
git commit -m 'your commit message'
git fetch upstream master
To bring in the changes added by others or the updates available in the base remote branch.git rebase ...
orgit merge ...
, your choice.git push
back to your remote branch- Create a pull request on github for your updates to be added to the original project.
- View the live project here: https://flamboyant-shannon-69d651.netlify.app/