Page 1 of 1
any idea on how to remove remote directory on git?
Posted: Wed Jan 12, 2011 4:07 pm
by dannyfan
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
Re: any idea on how to remove remote directory on git?
Posted: Wed Jan 12, 2011 9:58 pm
by angus
> 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
Re: any idea on how to remove remote directory on git?
Posted: Thu Jan 13, 2011 2:42 pm
by dannyfan
Thanks, I deleted the depo, and did it again.
and it's okay now: git://github.com/yyfan/594CM-YYFan.git