에 의해 생성 된 파일의 새로운 라인/캐리지 리턴을 넣어하는 방법을 나는이 :내 bash는 스크립트에서 떠들썩한 파티 스크립트
는echo -e '#!/bin/sh /n GIT_WORK_TREE=/home/realopti/domains/$name git checkout -f' >> ~/domains/$name.git/hooks/post-receive
이 생성 : 내 포스트받을 파일의
#!/bin/sh /n GIT_WORK_TREE=/home/realopti/domains/john git checkout -f
. 나는이 그렇게 할 수있는 방법
#!/bin/sh
GIT_WORK_TREE=/home/realopti/domains/john git checkout -f
:
나는 같이 할 파일을 싶습니다.
는\n
하지
/n
해야
빌
죄송합니다. – user61629