userTester
asked on
Delete a single file from remote GitHub repository
Hi there,
I am new to GitHub, and I've gone through a few video tutorials and GitHub help articles, but I still don't think I understand how it works.
Can a single file in my remote GitHub repository be deleted from a GitBash command prompt on my computer?
I've tried this from GitBash:
The error doesn't sound good, so I assume it's the wrong command??
I am new to GitHub, and I've gone through a few video tutorials and GitHub help articles, but I still don't think I understand how it works.
Can a single file in my remote GitHub repository be deleted from a GitBash command prompt on my computer?
I've tried this from GitBash:
$ git remote rm https://github.com/myGitHub/myRepository/myFile.zip
error: Could not remove remove config section 'remote.https://github.com/myGitHub/myRepository/myFile.zip'
The error doesn't sound good, so I assume it's the wrong command??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Basically... just if the file you are deleting has any changes that havent been pushed/committed.
ASKER
Thanks Mlanda, it worked perfectly!
ASKER
What do you mean by ?