Git Master Branch



Hi guys! I tried to connect my C9 workspace to a GitHub Repository, but I had problem doing so and decided to just continue working without using GitHub, but my workspace shifted to the master branch and it is showing master in brackets after my the workspace file path on my command line. Can you guys tell me how I can exit the master branch and use my command line regularly as I was using?


You may have stopped using GitHub, the online service, but it looks like your project is still using Git. GitHub simply acts as a remote location to upload changes being tracked by Git. If you want to stop using Git in your local project, simply remove the folder containing Git information, .git. Just run rm -rf .git.


Yeah, it worked. Thanks a lot dannytech. My old command line is back !!!