git bare - GIT INIT not creating a working tree -


i'm doing simple git init c:\xxx running master machine executed on slave machine. c:\xxx path in slave. assumption create non bare repository did not provide --bare option. looked @ system, global config settings in slave machine , set bare = false option in these. after running git init can see local config having bare = true.

from init command takes bare settings default?

when run git init <path> on master machine, git app run on master. uses global configs of machine, have bare=true.

to solve can use 1 of these options:

  1. login slave machine ssh , run git init <path>
  2. directly copy premade .git selected path on slave. gives option use tweaked repository. e.g. can add git hooks.

Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -