After a coffee-fuelled coding session the other day, I suddenly released that I had forgotten to commit. Therefore I had multiple changes in a single file that I needed to place into different commits. After a short bit of Googling, I found this useful little feature within VSCode called Stage Selected Ranges.
In short, Stage Selected Ranges lets you pick out certain changes within a file and individually stage them, allowing you to then create separate commits.
Below shows an example.
- Full deep-dive course library (inc. Batfish, pyATS, Netmiko)
- Code repositories inc. full course code, scripts and examples
- 24x7 Multi-vendor labs (Arista, Cisco, Juniper)
- Private online community
- Monthly online meetups
- Monthly guest speakers
100% Satisfaction Guaranteed!
Cancel your membership at any time.
FREE Network Automation Tips
The latest network automation tips, delivered weekly!
You've successfully subscribed to Packet Coders.
Success! Your account is fully activated, you now have access to all content.
Welcome back! You've successfully signed in.
Nearly there! To activate your account, please click the link in the email we just sent you.