copy a file from remote server to local machine code example
Example 1: how to copy a file to a remote server using the command line
scp file.txt [email protected]:/remote/directory
Example 2: scp copy
scp /users/Edward/desktop [email protected]:/writing/article
Example 3: git remove remote file keep local
# for single file
git rm --cached myfile
# for directory file
git rm --cached --r myfile