From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Use of git in IPFire Date: Thu, 01 Apr 2021 10:37:49 +0100 Message-ID: In-Reply-To: <0c48a4cc-00ce-c4fe-9bf6-f8d508e41d6f@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3411146548107834820==" List-Id: --===============3411146548107834820== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 31 Mar 2021, at 13:24, Adolf Belka wrote: >=20 > Hi Michael, >=20 > On 22/03/2021 14:45, Michael Tremer wrote: >> Hey, >>> On 22 Mar 2021, at 11:52, Adolf Belka wrote: >>>=20 >>> Hi Michael, >>>=20 >>> On 22/03/2021 12:19, Michael Tremer wrote: >>>> Hello, >>>> I merged it, because we need Git for development purposes. >>>> I am writing CGI scripts on the systems and commit small changes. Copyin= g files back and forth would be error-prone and waste time. >>> That makes it clear what git is being used for. I am definitely following= the copying files back and forth approach when I am working on some of the b= ugs and have found sometimes that I have had to start all over again because = of errors. Makes sense to use git for managing that for the development work. >> I love git. I am getting confused if I am editing files that are not part = of a Git repository :) > When you use git on an IPFire system for evaluating changes, do you create = a local repository on the system that holds all the changes you do? If yes th= en at what level do you have the repository. I would thing / (root) would be = too high with all sorts of weird files in /dev and /proc that you don't want = to track. Or do you create a new repository at an appropriate location for th= e editing work you are planning to do. I just check out git://git.ipfire.org/ipfire-2.x.git and check in any CGI scr= ipts which I then push to the server to copy over to my actual build machine.= This is something I find more comfortable than using a remote editor if that= makes sense. -Michael > Thanks for any help/advice on this. >=20 > Regards, > Adolf. --===============3411146548107834820==--