linux - git: can I issue commands from two computers mounted to same file system -
i hope can explain in simple way ...
the files adding git on linux server. access these files various computers, depending on am. windows machine, drive mapped network drive. ssh server.
i created git repository while working on windows machine network drive mapped appropriate file system, lets call w:. in w:\ when created repository.
when ssh server directory like: \home\mydir\working_dir\
can now, while in ssh session, issue git commands update repository on linux macine?
this not answer, long comments.
i'm getting end of tether git. has messed everything. trying google solution fruitless. nothing specific enough , when try might relevant totally screws things further.
i tried changing path in config file manually. didn't know change to. if should relative, relative what?
i tried couple of things , ended /home/myname/myworkingdir/
however, deleted files again , set me unknown state. fortunately backed files beforehand. tried copy them place , add them again. "fatal: 'myfilename , path in here' beyond symbolic link. have no idea supposed mean.
git status shows more things deleted.
there situations works without issue (e.g. git status
) , others git
assumes exclusive access (e.g. attempting commit same change simultaneously 2 computers both have access same working directory).
wanting ask seems symptom of misunderstanding git model, anyway. you'll better off separate working directory on each computer (or multiple check-outs on same computer). git designed distributed, detached operation - go that, , you'll fine.
Comments
Post a Comment