I make some changes in my locally file with php extension (myfile.php) and i want to pull my file into server. I already use this command :
- git commit yourfile.js
but i have an error like this "error: pathspec 'function.php' did not match any file(s) known to git."
I'll be glad for any help. Thanks .