From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26525 invoked by alias); 13 Nov 2014 20:21:08 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19381 Received: (qmail 710 invoked from network); 13 Nov 2014 20:21:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=c/scmq5g c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=m-5lQ2Ls1Q_Bignsw20A:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <141113112048.ZM4770@torch.brasslantern.com> Date: Thu, 13 Nov 2014 11:20:48 -0800 In-reply-to: <546501D1.3050608@eastlink.ca> Comments: In reply to Ray Andrews "git along" (Nov 13, 11:09am) References: <546501D1.3050608@eastlink.ca> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Ray Andrews , Zsh Users Subject: Re: git along MIME-version: 1.0 Content-type: text/plain; charset=us-ascii This is really more suitable for zsh-workers, but to keep the thread in one place: On Nov 13, 11:09am, Ray Andrews wrote: } } The 'git' manual being longer than War and Peace, let me ask } some simple questions: There's a section on "Use of Git" in Etc/zsh-development-guide which has pointers to additional help. } git clone git:where-its-coming-from where-its-going-to } } ... simple. If I rerun it with the same target dir, will it just } update, or will it do the full monty all over again? You don't want to clone again. Use "git pull". } Would any files I've added be preserved, or nuked? I don't believe git will ever nuke something that's not under its control, but I've never done a clone on top of a clone. } Can we: } } git just-show-me-whats-changed ... ? git status -- to see what files are (not) under git control git diff -- to see what *you* changed but did not yet commit git whatchanged -- to see change history of your current source tree git whatchanged origin/master -- for changes you may not have "pull"ed