any idea on how to remove remote directory on git?

Post Reply
dannyfan
Posts: 10
Joined: Mon Mar 29, 2010 1:33 pm

any idea on how to remove remote directory on git?

Post by dannyfan » Wed Jan 12, 2011 4:07 pm

i'm trying to clean up my git, I can rm files and folders locally but can't rm existing folders on git.
any idea on how to remove remote directory on git? thx

angus
Posts: 43
Joined: Fri Apr 02, 2010 1:54 pm

Re: any idea on how to remove remote directory on git?

Post by angus » Wed Jan 12, 2011 9:58 pm

> git rm your_file_name

then

> git commit

then

> git push

You can always do a "git --help" to see the commands, and then a "git help the_command_you_want_to_know_about". E.g., "git help rm"

-Angus

dannyfan
Posts: 10
Joined: Mon Mar 29, 2010 1:33 pm

Re: any idea on how to remove remote directory on git?

Post by dannyfan » Thu Jan 13, 2011 2:42 pm

Thanks, I deleted the depo, and did it again.
and it's okay now: git://github.com/yyfan/594CM-YYFan.git

Post Reply