Monday, 28 July 2014

Useful commands

To create a patch:
$ diff -rupN orig new > diff.patch

To execute an '.sh' file under Git Bash:
cmd //c "cica.cmd arg1 arg2"

To change file mode bits in git:
$ git update-index --chmod +x cica.txt

No comments:

Post a Comment