Skip to content Skip to sidebar Skip to footer

How To Remove Folder On Github Using Coab?

I clone my repo where I have some folders and files: !git clone https://{username}:{password}@github.com/{username}/{project}.git then I change current directory: %cd {project} r

Solution 1:

Before you can commit you need to stage your changes:

git add--all 

Stage all the changes

Then run git commit -m "Your message" again.

As you can see here after running git commit -m "Message"

no changes added to commit

Git told you that nothing was added to the commit.

Solution 2:

Ensure you are in the default branch:

git checkout master

. The rm -r command will recursively remove your folder:

git rm -r folder-name

. Commit the change: ... Push the change to your remote repository

Post a Comment for "How To Remove Folder On Github Using Coab?"