Tuesday, 15 March 2011

github - Pull a branch from a repository that contains php code -


I am very new to Jithub I was trying to pull a branch from a repository that contains some PHP code.

I used the git clone & lt; Url & gt; then I used to call git checkout & lt; Branchname & gt;

Because I am using github for windows, files are stored in my documents folder. Now I want to test the code and want to make some changes to my local people. So can I paste the project folder of the www directory of my folder folder? Or should I do something else? And if after copying the folder, if I want to make any changes, then what order should I use?

This help page mentions that:

GitHub is optimized for working with GitHub remotes ??? But if you want to use a non-geetheb remote, it will work fine. Set up the remote manually in the Settings tab and everyone else should work as expected You can also drag files from the file system into the repository and GitHub will honor the original remote configuration for Windows.

So you can get from non-Geethhub repo, or as illustrated.

But with your local clone, you can easily access any other repo (such as in your wamp folder for an example)

Does not support Remotes and it will only work with the original remote
If you want to push; Drag on other remotes, we recommend that you use the command line client, which is included with the application.

An alternative to the command line must be using a GUI which supports several remote, such as.

Or you can clone the GitHub repo directly from the command line in the right folder, and then you can declare a local repo in your Windows GitHub app.

Or you can understand the meaning of the meaning of the my document (which means that you do not have to move anything, and you use Geethub for Windows Can continue)

No comments:

Post a Comment