Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Git Cheat Sheet

fda77 edited this page Jun 25, 2012 · 3 revisions

Update your fork from upstream

This is how to keep your personal fork up-to-date with changes from main repository.

$ git remote add upstream https://github.com/AndlyticsProject/andlytics.git

$ git fetch upstream

$ git merge upstream/master

$ git push

I've set up this cronjob on my router, so i dont have to care about merging: git pull git fetch upstream git merge upstream/master -m "merge" git push origin master Don't forget to set ~/.ssh/id_rsa properly

Clone this wiki locally