APNIC 56 Network Automation tutorial
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Git via vscode

The goal here is to ensure we can work on remote server in a directory which is already tracked via Git. We use VScode’s inbuilt remote mechism and git extensions to easily commit code from VSCode itself.

Step 1 - Open vscode and connect it to your remote server

Detailed instructions on connecting VScode with remote already covered on day1. Please check them here

Step 2 - Change directory

If needed change directory and ensure you are in the Git tracked directory which was setup by cloning in the previous step. Change directory using File > Open folder in the VSCode.

Step 3 - Make some changes

Create a new file named test2.txt