linux - What is wrong with my git 1.8.4.2-1? -


i have old synology ds-106j server tried install git using ipkg command. installation went smoothly, git failed work correctly. learning how use git, don't know if bug git version using or else wrong.

what did create new local repository specified name, add new file, commit it, , got error:

   nas_server> git init test    initialized empty git repository in /root/test/.git/    nas_server> ls    packages.gz                git_1.8.4.2-1_powerpc.ipk    test    nas_server> cd test    nas_server> git status    # on branch master    #    # initial commit    #    nothing commit (create/copy files , use "git add" track)    nas_server> touch test.cs    nas_server> ls    test.cs    nas_server> git add *    nas_server> git status    # on branch master    #    # initial commit    #    # changes committed:    #   (use "git rm --cached <file>..." unstage)    #    #       new file:   test.cs    #    nas_server> git commit -m "test"    fatal: 57e2b8c52efba71d84c56bf6f37581686b9061a3 not valid object 

i thought...maybe did wrong, used git on windows os , try push. still error. transfer whole repository server , check status. seems fine. try commit. still same result. worse can't update git version without having compile it, don't know how so. suggestion might wrong?

if goal push git repo located on synology disk(s) backup purposes i'd recommend different approach avoid having install rather old git version on synology box (which lead problems if/when using newer git version on windows machine).

export samba share synology, mount on windows , use windows git create backup repo (maybe bare repo, group shared if plan share work other people). push working repo backup repo - on windows box. in scenario synology box doesn't need git installed, serves files (i.e. original job).

i'm using such setup linux machine instead of windows 1 , bare repo on synology disks exported via nfs instead of samba.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -