![]() ![]() This is a private repository as nobody else needs to see the code for my website. Now go to GitHub and create a new repository. We want to commit everything to form the initial repo, so drop down the git menu (three dots to the right of the source control pane) and choose Commit all, click Yes. Staging in git is where you define which changes will be committed in your next commit. Initially all your files are in an unstaged state. Then select your workspace from the dropdown and the local repository is created. Click the repository icon for Initialize Repository: In VS Code, open the workspace and press Ctrl-Shift-G or click the Source control icon. So this is how I moved my PHP website, which was not under source control, to a private GitHub repository:ฤก. How about source control though? I guess as you would expect from Microsoft (which now owns GitHub) the git support is built in. โ I am finding VS Code handy as a general-purpose editor ![]() โ I have a PHP website and have worked out a nice debugging environment using VS Code and WSL (Windows Subsystem for Linux) โ I am working on a Java project and chose to use VS Code in part as a learning exercise Rather to my surprise, I am currently spending more of my development time in Visual Studio Code than in Visual Studio. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |