public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Use of git in IPFire
Date: Thu, 01 Apr 2021 10:37:49 +0100	[thread overview]
Message-ID: <F9670579-0139-4110-9099-04CBA57869A9@ipfire.org> (raw)
In-Reply-To: <0c48a4cc-00ce-c4fe-9bf6-f8d508e41d6f@ipfire.org>

[-- 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.


           reply	other threads:[~2021-04-01  9:37 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <0c48a4cc-00ce-c4fe-9bf6-f8d508e41d6f@ipfire.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F9670579-0139-4110-9099-04CBA57869A9@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox