|
NAMEgit-scp - Copy files to SSH compatible git-remoteSYNOPSIS`git scp` -h|help|? `git scp` <remote> [<commits>...|<path>...] `git rscp` <remote> <path> DESCRIPTIONA convenient way to copy files from the current working tree to the working directory of a remote repository. If a <commits>... is provided, only files that has changed within the commit range will be copied.Internally this script uses rsync and not scp as the name suggests. git-rscp - The reverse of git-scp. Copies specific files from the working directory of a remote repository to the current working directory. OPTIONS<remote>
<commits>...
<path>...
GIT CONFIGSTo sanitize files using dos2unix before copying files
You can run the files through PHP lint (i.e. php -l) before copying files
EXAMPLESMake sure you have git-remote(1) setup
Copy unstaged files to remote. Useful when you want to make quick test without making any commits
Copy staged and unstaged files to remote
Copy files that has been changed in the last commit, plus any staged or unstaged files to remote
Copy files that has been changed between now and a tag
Copy specific files
Copy specific directory
Copy files from specific directory to multiple servers
AUTHORWritten by Chern Jie <lim@chernjie.com>REPORTING BUGS<https://github.com/chernjie/git-extras/issues>SEE ALSO<https://github.com/tj/git-extras>
Visit the GSP FreeBSD Man Page Interface. |