git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
VERSION=1.0 | |
[email protected] | |
echo "Creating an SSH key for you..." | |
ssh-keygen -t rsa -b 4096 -C "$EMAIL" | |
echo "Please add this public key to Github \n" | |
echo "https://github.com/account/ssh \n" | |
read -p "Press [Enter] key after this..." |
# Use this to quickly create a git repo in a Mac Finder folder | |
# | |
# You need to create an Automator service: | |
# - Open Automator, choose to create a new Service | |
# - At the top, select Service receives selected "Folders" in "Finder" | |
# - From the list at the left, choose Library/Utilities, then drag the | |
# Run Shell Script action to the workarea | |
# - Paste the script below into the script area | |
# - Make sure you set the 'Pass input:' selection to "as arguments" | |
# - Save the service with an easy to find name, I used "Git Clone Here" |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
Online logbook creator for Geocaching
A Pen by Ludovic Valente on CodePen.