Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219260

Re: help with gitlab on buster

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: help with gitlab on buster
Date 2020-02-19 10:00 +0100
Message-ID <zBtn4-7TT-9@gated-at.bofh.it> (permalink)
References (4 earlier) <zAQvn-J3-5@gated-at.bofh.it> <zAXnb-4NE-3@gated-at.bofh.it> <zB88V-3AK-5@gated-at.bofh.it> <zB9eF-4cm-1@gated-at.bofh.it> <zBsAF-7Dd-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Feb 19, 2020 at 10:03:04AM +0200, Andrei POPESCU wrote:
> On Ma, 18 feb 20, 12:25:40, john doe wrote:
> > 
> > Don't forget that the repositories on a server/remote repositories are
> > to be 'bare' and 'ending with '.git'.
> 
> Using a bare as remote has some advantages in case you don't actually 
> need a working tree "there", it is however not a requirement.

No, but still highly recommended. Pushing to a non-bare repo is...
possible but finicky (a non bare repo has always a "checked out"
branch: now imagine that one isn't clean. What's to happen?

See e.g. [1] for some discussion.

I'd recommend: always use bares as remotes (unless you really know
what you're doing -- or equivalently: unless you're into... learning).

Cheers

[1] https://stackoverflow.com/questions/1764380/how-to-push-to-a-non-bare-git-repository

-- t

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

help with gitlab on buster Graham Seaman <graham@theseamans.net> - 2020-02-14 18:20 +0100
  Re: help with gitlab on buster john doe <johndoe65534@mail.com> - 2020-02-14 18:50 +0100
    Re: help with gitlab on buster deloptes <deloptes@gmail.com> - 2020-02-14 19:40 +0100
    Re: help with gitlab on buster Graham Seaman <graham@theseamans.net> - 2020-02-17 00:00 +0100
      Re: help with gitlab on buster john doe <johndoe65534@mail.com> - 2020-02-17 07:40 +0100
        Re: help with gitlab on buster Graham Seaman <graham@theseamans.net> - 2020-02-17 16:30 +0100
          Re: help with gitlab on buster David Wright <deblis@lionunicorn.co.uk> - 2020-02-17 23:50 +0100
            Re: help with gitlab on buster Graham Seaman <graham@theseamans.net> - 2020-02-18 11:20 +0100
              Re: help with gitlab on buster john doe <johndoe65534@mail.com> - 2020-02-18 12:30 +0100
                Re: help with gitlab on buster Andrei POPESCU <andreimpopescu@gmail.com> - 2020-02-19 09:10 +0100
                Re: help with gitlab on buster john doe <johndoe65534@mail.com> - 2020-02-19 09:20 +0100
                Re: help with gitlab on buster <tomas@tuxteam.de> - 2020-02-19 10:00 +0100

csiph-web