• Order of the Butterfly
    Order of the Butterfly
    Posts: 322 from 2003/7/26
    From: Wroclaw/Poland
    I have checked repository config again. Unfortunately I don't know why it doesn't work. The same operations on macOS (Catalina) work.

    I add "bare" remote repository to my project local git:
    Files:MDW/dev/git_test_3> git remote add origin /Files:MDW/dev/git_test_3_server_repo.git/

    Check if the remote repository is aded:
    Files:MDW/dev/git_test_3> git remote

    Show more details about the origin:
    Files:MDW/dev/git_test_3> git remote show origin
    * remote origin
    Fetch URL: /Files:MDW/dev/git_test_3_server_repo.git
    Push URL: /Files:MDW/dev/git_test_3_server_repo.git
    HEAD branch: (unknown)

    Files:MDW/dev/git_test_3/.git/config contains:
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
    tool = kompare
    [remote "origin"]
    url = /Files:MDW/dev/git_test_3_server_repo.git/
    fetch = +refs/heads/*:refs/remotes/origin/*

    However if I try to map master to origin (-u):
    Files:MDW/dev/git_test_3> git push origin master -u
    Enumerating objects: 323, done.
    Counting objects: 100% (323/323), done.
    Writing objects: 100% (323/323), 3.39 MiB | 1.26 MiB/s, done.
    Total 323 (delta 0), reused 0 (delta 0), pack-reused 0

    the process uses about 350MB and stops.

    I am not sure how the url (Files:MDW/dev/git_test_3_server_repo.git/) should looks.
    If I use "Files:MDW/dev/git_test_3_server_repo.git/" there is error message.
    If I add "/" before the path, no error, remote exists, I see details of the remote. However push freezes (not crash, just stop).

    [ Edited by MDW 19.11.2020 - 14:14 ]
  • »19.11.20 - 12:55
    Profile Visit Website