

Once you're happy with your change, fill out the input boxes in the bottom left to add a commit message:.Make sure that you're only changing files that you meant to change Click on the files in the sidebar to see different files.A diff showing the changes that you made is shown (lines with a green background were added, and lines with a red background were removed):.Open Github Desktop and ensure you are in the correct Current Repository.
GITHUB GIT CHEAT SHEET PDF UPDATE
I want to save my code to the repository (Committing) įollow these steps if you have edited some code, and want to update the repository with your changes. Visual Studio Code will now open with the code from the repository.

Then paste the URL that you copied before into the "URL or username/repository" input: In the Clone Repository modal, make sure you are on the URL tab.Open Github Desktop, and click on the File menu and then click Clone Repository:.Copy the URL (Pro Tip: you can click the clipboard icon on the right to copy automatically!).Click the "Code" button, which opens a menu:.For most of your coursework this will likely be.Open the repository on Github in your browser.Github Desktop might look a bit different if are cloning the first repository on your computer.
