From e5c7dba94ec713a565ebe358ca43c8ec2f667e00 Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 3 May 2017 11:56:59 -0400 Subject: [PATCH] progress --- misc/git_cheat_sheet.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/misc/git_cheat_sheet.txt b/misc/git_cheat_sheet.txt index 080d1c78079..903304d627c 100644 --- a/misc/git_cheat_sheet.txt +++ b/misc/git_cheat_sheet.txt @@ -21,3 +21,22 @@ git submodule update --init Refresh submodules: git submodule update --recursive --remote + +========================================= + +Generate diff of specific commit + + git diff COMMIT^ COMMIT +(this generates diff between previous to COMMIT and COMMIT) +========================================= + +https://help.github.com/articles/configuring-a-remote-for-a-fork/ + +git remote -v +git remote add upstream https://github.com/ChibiOS/ChibiOS.git +git remote -v + +========================================= +https://help.github.com/articles/syncing-a-fork/ + +