git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Coming from SVN world - need help

From
Erik Faye-Lund <kusmabite@gmail.com>
Date
Jul 13, 2011, 13:17 UTC
Message-ID
<CABPQNSa1PO6je+4sXMRWLLwLG9sUNTD1a+SMJj=wdPF+_dUPHA@mail.gmail.com>
In-Reply-To
<20110713183056.1cde5b61@shiva.selfip.org>
On Wed, Jul 13, 2011 at 3:00 PM, J. Bakshi <joydeep@infoservices.in> wrote:
> And now the issues when I am trying to do the same with git
>
> [1] git init ${git_path}/<repo>.git  >>> ok , it is working

You probably want to add the "--bare"-flag if this is the repo that will be published.

Show 6 quoted lines
> [2] Problem with mapping a dir with this repo
>
> mydir $> git --username <username> --password <password> clone file:///${git_path}/<repo>.git
>
> Not working --username and --password .
>

You don't need username and password to clone over the file-system, just the correct file-system permissions.

> [3] git commit -m also not commit into master.

git commit -m"foo" commits into the local branch that HEAD points to (should be 'master' by default). You need to do "git push" to update the published repo.

Previous: J. BakshiNext: J. Bakshi
Message 2 of 4 in “Coming from SVN world - need help”
  1. J. BakshiJul 13, 2011
  2. Erik Faye-LundJul 13, 2011
  3. J. BakshiJul 14, 2011
  4. Ramkumar RamachandraJul 14, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.