Using the Ubuntu development environment for a long time, switch to Windows somewhat uncomfortable, want to enjoy the Linux convenient tool under Windows can install a strong Cygwin, I am also the first time to learn, the main purpose of this article is to enable you to use the basic tools through Cygwin mainly git, Find, grep, adb logcat, and so on.
1, how to install
It is best to download the latest version of the official website, the installation process many here do not say, basically click the default can, because the software installation process will download a lot of things, recommended installation before selecting the appropriate installation place, the installation process Choose the best choice of the domestic, such as 163, Important steps for choosing which east to install. If the first installation chooses the default, it's okay to open the installation software again.
This step selects Base, Devel: Includes the GCC, make and other compile tools. If you don't understand it, it's best to select all of the branches below . The other can be the default is good.
2 using Git
After installation, Cygwin can basically use and Ubuntu basic commands, into the server pull under the project, using Git St, found a lot of red stuff, this time not afraid, git checkout off all the red things, and then use Git st, found normal. After modifying the project, use Git pull to find the problem: Bad owner or Permissions on/home/changxing/.ssh/config. This is obviously a file's permissions or a user group error. CD to. SSH, use Ls-la to view the file usage, and then use chmod config and Chown xxx config to pay permissions and change the user group, back to continue git pull, everything OK. Self-sensing can also change permissions and user groups by using the Windows system right-click Property, not validated.
Related Information Http://superuser.com/questions/348694/bad-owner-or-permissions-error-using-cygwins-ssh-exe
Windows Linux Environment Cygwin installation and configuration basic tools use