git rm --cached <folder_name>
Then go to the parent directory and do:
git add .
git commit -m "<your_message>"
git push --all
More Related Contents:
- Git: Installing Git in PATH with GitHub client for Windows
- Configure Git clients, like GitHub for Windows, to not ask for authentication
- Change Git repository directory location.
- Error when pushing amended commit to remote [duplicate]
- Is there a way to cache https credentials for pushing commits?
- How to do a GitHub pull request
- Download a single folder or directory from a GitHub repo
- Git keeps prompting me for a password
- Download single files from GitHub
- Only use a proxy for certain git urls/domains?
- How can I make Jenkins CI with Git trigger on pushes to master?
- Git: Recover deleted (remote) branch
- How much of a git sha is *generally* considered necessary to uniquely identify a change in a given codebase?
- SSH Key – Still asking for password and passphrase
- How can I check out a GitHub pull request with git?
- What is a bare repository and why would I need one?
- Set Git submodule to shallow clone & sparse checkout?
- How can I see the size of a GitHub repository before cloning it?
- A way to restrict Git branch access?
- Can I arrange repositories into folders on Github?
- Is there a way to lock individual files or directories on fork when using git?
- fatal: The current branch master has no upstream branch
- Create new pull request from fork without having commits of the previous fork
- How to delete the last n commits on Github and locally?
- How to merge the remote branch and ignore the config setting?
- Transfer git repositories from GitLab to GitHub – can we, how to and pitfalls (if any)?
- Create empty branch on GitHub
- Pushing a large github repo fails with “unable to push to unqualified destination: master”
- Git clone repository error: RPC failed; result=56, HTTP code = 200
- npm install package from github repo subfolder