[Lazarus] Git Plug-in for Lazarus

Eric Kom erickom at metropolitancollege.ac.sz
Fri Jul 3 13:06:52 CEST 2015



On 03/07/2015 12:44, Graeme Geldenhuys wrote:
> On 2015-07-03 11:20, Eric Kom wrote:
>> But fine I got a  working git server.
> Huh? Git doesn't use a "server"... maybe you meant "repository"?
Sorry. REPOSITORY I menat
>
>> My question now is how can I ignore *.back file so that I don't push
>> them in the remote repo?
> Two ways of doing that.
>
> 1. Edit the "<project>/.git/info/exclude" and include whatever files
>     or paths you want to ignore.
>     This option is local to your setup, so if you share this repository,
>     nobody else will have your ignored file options.
>
> 2. Create a "<project>/.gitignore" file. The syntax for this file is the
>     same as in option (1). It is recommended to also commit this file
>     into your repository (though not a requirement). If you commit it and
>     share this repository, then others will have the same files ignored.
Thanks
>
> For more details see the Git help on the subject:
>
>    $>  git help gitignore
>
>
> My ".gitignore" file normally contains the following:
>
> --------------------[ .gitignore ]-----------------------
> *.[oa]
> *.ppu
> *.lps
> *.compiled
> *.bak*
> *.exe
> *.cgi
> *.log
> units/x86_64-freebsd/*
> units/x86_64-linux/*
> ---------------------[ end ]-----------------------------
>
>
> Regards,
>    - Graeme -
>

-- 
--
Kind Regards

Eric Kom

Senior IT Technician - Metropolitan Schools
        _________________________________________
/ You are scrupulously honest, frank, and \
| straightforward. Therefore you have few |
\ friends.                                /
        -----------------------------------------
          \
           \
               .--.
              |o_o |
              |:_/ |
             //   \ \
            (| Kom | )
           /'\_   _/`\
           \___)=(___/

2 Hennie Van Till, White River, 1240
Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334
erickom at kom.za.net | erickom at metropolitancollege.co.za www.kom.za.net |
www.kom.za.org | www.erickom.co.za

Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5





More information about the Lazarus mailing list