From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107139 invoked by alias); 21 Mar 2018 08:54:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 107127 invoked by uid 89); 21 Mar 2018 08:54:23 -0000 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 Received: from smtpq4.mnd.mail.iss.as9143.net (HELO smtpq4.mnd.mail.iss.as9143.net) (212.54.34.167) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Mar 2018 08:54:22 +0000 Received: from [212.54.34.115] (helo=smtp7.mnd.mail.iss.as9143.net) by smtpq4.mnd.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1eyZVj-00028G-K7 for cygwin@cygwin.com; Wed, 21 Mar 2018 09:54:19 +0100 Received: from mail-qk0-f172.google.com ([209.85.220.172]) by smtp7.mnd.mail.iss.as9143.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1eyZVj-0005gs-Fl for cygwin@cygwin.com; Wed, 21 Mar 2018 09:54:19 +0100 Received: by mail-qk0-f172.google.com with SMTP id w6so4625637qkb.4 for ; Wed, 21 Mar 2018 01:53:44 -0700 (PDT) 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 Received: by 10.200.112.71 with HTTP; Wed, 21 Mar 2018 01:46:37 -0700 (PDT) In-Reply-To: <587wcTwzy5968Set.1521586344@web02.cms.usa.net> References: <587wcTwzy5968Set.1521586344@web02.cms.usa.net> From: Frank Fesevur Date: Wed, 21 Mar 2018 10:28:00 -0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: GitForWindows vs. Cygwin To: cygwin@cygwin.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 X-SW-Source: 2018-03/txt/msg00317.txt.bz2 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