![]() |
|
[.NET] How to use github with Visual Studio 2013 - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] How to use github with Visual Studio 2013 (/showthread.php?tid=4899128) |
How to use github with Visual Studio 2013 - BahNahNah - Jul 8, 2015 [First upload to Github] 1) Sign up to github. 2) Navigate to 'New Repository" Spoiler (Click to View) Enter a repository name, description is optional. Spoiler (Click to View) Click "Create repository" 3) On the next screen, copy the HTTPS git link. Spoiler (Click to View) 4) Open the project you want to assign to the repo. 5) Goto file -> Add to source control Spoiler (Click to View) There should be green "+" in your Solution Explorer now. 6) Goto the Team Explorer tab Spoiler (Click to View) It should look like this. If it dosent, click the house. Spoiler (Click to View) 7) This step needs to be done once (not for every project): -Goto Settings -Git settings Enter a username and you email then click Update. Spoiler (Click to View) 8) return back to the team explorer home (house icon) and then select "Changes" 9) Enter a commit message 10) Click the tab BESIDE the commit button and select "Commit and push" Spoiler (Click to View) 11) Paste the HTTPS git link (from step 2) into the box then click Publish. Spoiler (Click to View) if you get a prompt asking you to login, use your github login details. 12) You are done, refresh your github page and you should see your code. [Updating your Github] (All changed files will have a red tick beside them) 1 a) To update your entire project, right-click on the project name -> Source Control -> Commit Spoiler (Click to View) 1 b) To update specific files, select the files you want to update, Right click -> Commit Spoiler (Click to View) 2) Click the tab BESIDE the commit button and select "Commit and push" Spoiler (Click to View) 3) Done, you updated your git * - backshifted - Jul 8, 2015 It's quite simple but still a very nice and detailed share (: Too bad i already repped you ;D * - SIM-1676753 - Jul 8, 2015 Yes, hi sir. I am still having issues? Can you make a video please? Thank you. * - +Haze - Jul 8, 2015 GitHerb Desktop version looks easier in my opinion. Just saying... Nice effort though Mr.BahNahNah * - Only3 - Jul 8, 2015 long story > code and upload < short Edit - Update ? delete and upload or edit * - tweety - Jul 8, 2015 Or you know.. https://msdn.microsoft.com/en-us/library/hh850445.aspx * - NETExplorer - Jul 8, 2015 Good idea of a thread, 9.5/10 for effort -2/10 for execution * - SIM-1676753 - Jul 8, 2015 OP is refusing to help me. This product is a scam and you should not buy it. |