From 3ecd60b33fa951ef2a93264c4b8a897c3de1709f Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Tue, 20 Sep 2016 13:29:55 +0200 Subject: [PATCH] Add git helper in doc --- doc/git.cmds | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/git.cmds diff --git a/doc/git.cmds b/doc/git.cmds new file mode 100644 index 000000000..c26a9effa --- /dev/null +++ b/doc/git.cmds @@ -0,0 +1,13 @@ +## Add single file after change +git add -f DDCond/include/DDCond/ConditionsTextRepository.h + +## Add all changes interactively with asking +git add -p + +## Equiv to svn diff (after 'git add') +git diff --staged + +## Equiv to svn diff (raw stuff) +git diff + +## Equiv svn status -- GitLab