* Re: Use of git in IPFire
[not found] <0c48a4cc-00ce-c4fe-9bf6-f8d508e41d6f@ipfire.org>
@ 2021-04-01 9:37 ` Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2021-04-01 9:37 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]
Hello,
> On 31 Mar 2021, at 13:24, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
>
> Hi Michael,
>
> On 22/03/2021 14:45, Michael Tremer wrote:
>> Hey,
>>> On 22 Mar 2021, at 11:52, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
>>>
>>> Hi Michael,
>>>
>>> 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. Copying 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 bugs 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 then 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 the editing work you are planning to do.
I just check out git://git.ipfire.org/ipfire-2.x.git and check in any CGI scripts 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.
>
> Regards,
> Adolf.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-01 9:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <0c48a4cc-00ce-c4fe-9bf6-f8d508e41d6f@ipfire.org>
2021-04-01 9:37 ` Use of git in IPFire Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox