X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=CvCfqq+ 9z7ETqKA8wGF1qosxgsGuiJK/Wp1J+T6AhnsTJ0kVPWLM7jrzGJnZyhpKPsJ+Ci/ sx6l9U7RJizLvEE9nErt3Je63y5dIOAsGSkkkBNZpXbYwmT2h7LrsSpKzhFscUIZ GoaBIMDfwZF/KgxYl1b/08MWgc0qxy9lA1QU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=60GylZ6BoTYkc /nt6KDaPEWDS/I=; b=k1G9N7HlrBRgtv79b1ejodb1bS8RwIHdM0uYyUnb0mh+J dFXxY92vRWNrH+m/iz8B/YGzNdZgdqTFu0JPvrZHDM/al7/D1jnkfNckQeiccvU9 EiL7kfxsDsnAJH/xJ7k1U9Q6O4BjAt65J8ztudwsJlToAyux/2M57Wj0HUyOc8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=multi, relationship X-HELO: smtpq4.mnd.mail.iss.as9143.net X-Gm-Message-State: AElRT7H5y9Q1kg8zphMvai5xmp+phUSJoRY0C0s/dhtvnmLPR6ojKbYA 1mlHMRwoz1QJD1v2hbRQUX0fSmHdBiqKpn7LjOc= X-Google-Smtp-Source: AG47ELt7SZ9YQHDpbUVRHfCsFQaujQWYO9v0SgA+FEoLcJhYGJhkDCdwR4g2oyNsMycyyI+93Uzm31sBCYTrB/GZhJ0= X-Received: by 10.55.24.214 with SMTP id 83mr28755522qky.267.1521622027708; Wed, 21 Mar 2018 01:47:07 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <587wcTwzy5968Set.1521586344@web02.cms.usa.net> References: <587wcTwzy5968Set DOT 1521586344 AT web02 DOT cms DOT usa DOT net> From: Frank Fesevur Date: Wed, 21 Mar 2018 09:46:37 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: GitForWindows vs. Cygwin To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-SourceIP: 209.85.220.172 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.3 cv=MPpOZvRl c=1 sm=1 tr=0 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=IkcTkHD0fZMA:10 a=v2DPQv5-lfwA:10 a=6kCtubjaH630WmGTaUkA:9 a=QEXdDO2ut3YA:10 none X-Ziggo-Spam-Status: No X-IsSubscribed: yes 2018-03-20 23:52 GMT+01:00 KARL BOTTS: > Can anyone enlighten me about the relationship of "Git for Windows" to > Cygwin? Depends on how you define "relationship". Tony summed it up very nicely. > I have no intention to use GFW myself: I use Cygwin git. But now other people > around here are discovering GitHub, MSysGit and or GitForWindows. Pretty > soon, we are going to wind up with multiple git flavors installed on the same > host, which worries me. I use the Cygwin based git tools (tig most of the time) as my main client, but also use Git for Windows and its tig, WSL based and real Ubuntu, the builtin git client in Visual Studio and VSCode. I often combine them in one project, for instance use VS for the simple and easy commit, use the Cygwin command line for more advance stuff and to push and pull (because I mainly use SSH). The **real caveat** is to get your line endings right. You need that figured out in any multi platform environment, and combining Windows bases git and Cygwin based git is exactly that. Cygwin and Ubuntu default to LF. Git for Windows and the VS clients default to CRLF. We use "git config --global core.autocrlf false" and combine that with a proper .gitattributes and .editorconfig file. So far that works quite well for us. Hope it helps, Frank -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple