---
title: "Shailesh Kumar Sundram (@sksundram) | Hashnode"
description: "Full-stack developer. Read the latest articles by Shailesh Kumar Sundram on Hashnode."
url: "https://hashnode.com/@sksundram"
---

@sksundram

# Shailesh Kumar Sundram

@sksundram · Bengaluru, India · Joined November 2016

Full-stack developer

[Website](https://sksundram.tech/)

### [How to Use Multiple Neovim Distributions on macOS](https://sksundram.site/how-to-use-multiple-neovim-distributions-on-macos?utm_source=hashnode&utm_medium=feed)

What if you want to install multiple Neovim distributions like NvChad, LunarVim, AstroNvim, LazyVim, etc. while also keeping your custom Neovim config on you system. There's two ways to do that. Method #1 This method is by Elijah Manor. Make sure you...

3 min read · [sksundram.site](https://sksundram.site/how-to-use-multiple-neovim-distributions-on-macos?utm_source=hashnode&utm_medium=feed)

[Mar 7, 2024](https://hashnode.com/posts/how-to-use-multiple-neovim-distributions-on-macos/65e974174191d636ceb38b7e)

### [Why Git Asks for Username and Password While Pushing to Remote Repo](https://sksundram.site/why-git-asks-for-username-and-password-while-pushing-to-remote-repo?utm_source=hashnode&utm_medium=feed)

This could be because the remote url is pointing to HTTPS URL and not to SSH URL. Here's an example of - HTTPS URL : https://github.com/<Username>/<Project>.git SSH URL : git@github.com:<Username>/<Project>.git Now, to change from HTTPS URL to SS...

1 min read · [sksundram.site](https://sksundram.site/why-git-asks-for-username-and-password-while-pushing-to-remote-repo?utm_source=hashnode&utm_medium=feed)

[Mar 6, 2024](https://hashnode.com/posts/why-git-asks-for-username-and-password-while-pushing-to-remote-repo/65e838aca689955a72a515eb)

### [How to Utilise the Reduce Method on an Array of Objects?](https://sksundram.site/how-to-utilise-the-reduce-method-on-an-array-of-objects?utm_source=hashnode&utm_medium=feed)

const fruits = \[ { name: 'Apple', quantity: 20 }, { name: 'Banana', quantity: 35 }, { name: 'Orange', quantity: 50 }, { name: 'Grapes', quantity: 15 } \]; const totalQuantity = fruits.reduce((accumulator, fruit) => { return accumulator + fr...

1 min read · [sksundram.site](https://sksundram.site/how-to-utilise-the-reduce-method-on-an-array-of-objects?utm_source=hashnode&utm_medium=feed)

[Jul 17, 2023](https://hashnode.com/posts/how-to-utilise-the-reduce-method-on-an-array-of-objects/64b4a1058eea8a6315c72fc8)

### [Remove Files From Staging Before Committing](https://sksundram.site/remove-files-from-staging-before-committing?utm_source=hashnode&utm_medium=feed)

Say you have added main.js to the staging area but later you realised that you don't want to commit it. You have two ways to achieve it. The old way git reset HEAD main.js The new way git restore --staged main.js

1 min read · [sksundram.site](https://sksundram.site/remove-files-from-staging-before-committing?utm_source=hashnode&utm_medium=feed)

[Jun 14, 2023](https://hashnode.com/posts/remove-files-from-staging-before-committing/648938929917401090e653b9)

### [Add More Files and Changes to a Commit Before Pushing](https://sksundram.site/add-more-files-and-changes-to-a-commit-before-pushing?utm_source=hashnode&utm_medium=feed)

After creating new files and editing existing files, we want to add them to the previous commit i.e. rewrote the previous commit. First, add all the files to the staging area. git commit -A Now, commit them using the --amend flag. git commit --amend...

1 min read · [sksundram.site](https://sksundram.site/add-more-files-and-changes-to-a-commit-before-pushing?utm_source=hashnode&utm_medium=feed)

[Jun 11, 2023](https://hashnode.com/posts/add-more-files-and-changes-to-a-commit-before-pushing/64857b6e677eb9f1e85b345e)
