gitosis - What does invalid option mean when I do a git push? -
i have set own git server gitosis. seems functioning correctly when git push error message counting objects: 5, done. delta compression using 2 threads. compressing objects: 100% (3/3), done. writing objects: 100% (3/3), 388 bytes, done. total 3 (delta 0), reused 0 (delta 0) : invalid optione: line 2: set: - set: usage: set [--abefhkmnptuvxbchp] [-o option-name] [arg ...] ssh://git@mytestserver/~/repositories/gitosis-admin.git a subsequent pull work , seems correctly merge. ideas? that error coming shell on remote system (bash likely). login shell on remote system trying execute source file (like ~/.profile) broken. be, example, user's shell /bin/bash somewhere in git or execution path ssh invoking, calling /bin/sh instead (which might older less options).