New to GitHub, how to run the commands on Windows?

The specific command you ran only works on linux because: sudo is a linux command (or *nix command in general) apt-get is a linux command (specifically ubuntu/debian command) install is a argument to apt-get command npm is a package So the line: sudo apt-get install npm means: Hey package-manager(apt-get), install the package (npm) and do … Read more

Who can help me in fixing the cherry-pick Git error? [closed]

From https://git-scm.com/docs/git-cherry-pick -m parent-number –mainline parent-number Usually you cannot cherry-pick a merge because you do not know which side of the merge should be considered the mainline. This option specifies the parent number (starting from 1) of the mainline and allows cherry-pick to replay the change relative to the specified parent. I guess you are … Read more

Can’t install distlearn through a firewall

The rockspec code has a built-in, tacit requirement to use git protocol. From behind a firewall, one must use HTTPS. luarocks has no proxy environment variable to configure this from the command line, so the installation fails. Fortunately, there is a way to reconfigure git: sudo git config –global url.”https://”.insteadOf git:// This forces all git … Read more

Unable to download Symfony2 from Git

There is a very straightforward tutorial on how to set up your own Symfony project: http://symfony.com/download I will not copy the tutorial, just mention two points: To install and upgrade Symfony, you will have to use Composer. (Details in the tutorial.) Symfony code is actually hosted on Github, but those are only some of the … Read more