You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gui-tool-tutorials/github-windows-vs-code-tutorial.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -37,57 +37,57 @@ The next step is to clone your repo down to your machine so you can begin making
37
37
38
38
Now open up Visual Studio Code. The welcome page of VS Code will pop up. From there press `F1` to open up the bar shown below. Notice that there is already a `>` (greater than) sign in the text field. You can also get to the input prompt by pressing `CTRL-P` and then type the `>` character.
Paste the URL of your repository and press `Enter`. This will open up a File Explorer where you can then choose where the Git repository should be stored.
52
52
53
53
**Important**: Make sure it is the forked repository and not the original one, otherwise it won't work.
You should see a status popup on the bottom right of Visual Studio Code. After it has finished, you can open up the cloned repository (now a folder on your machine) using the buttons in the dialog.
58
58
59
59
## Create a branch
60
60
61
61
Open up the command palette again by pressing `F1`. Type in `branch` and select the `create branch` command from there. In the next step type in the name of your new branch, for example `add-david-kroell`. Press enter and the branch will be created. The branch is also already checked out. [What does checkout mean?](https://www.git-scm.com/docs/git-checkout)
Open `Contributors.md` and add your name anywhere in the file. This file contains GFM (GitHub Flavored Markdown) which is a proprietary flavor of the <ahref="https://en.wikipedia.org/wiki/Markdown">markdown</a> syntax.
68
68
69
69
Copy one of the other contributors' lines and modify it with your name to make sure you get the syntax right - it can be picky.
70
70
71
-
<imgsrc="../assets/vscode-2018-08-changes.png"alt="Add your name" />
71
+
<imgsrc="https://firstcontributions.github.io/assets/gui-tool-tutorials/github-windows-vs-code-tutorial/vscode-2018-08-changes.png"alt="Add your name" />
72
72
73
73
## Commit & Push changes to GitHub
74
74
75
75
On the left side of VS Code is a menu with 5 icons displayed. Select the version control/Source Control icon.
Type something in the line on top of the explorer and press the checkmark. The changes are now committed to your local copy. Now the changes have to be pushed back to GitHub.
Use the three-dot icon to open up the menu where you select the `Publish Branch` option. This should open up a dialog to put your GitHub credentials in.
0 commit comments