Deeptendu Santra

Git Rebase Command: Update Branch

Keeping a feature branch current means applying its work after a chosen point in the project’s history. Git rebase replays the checked-out branch’s commits on top of that base. This article walks through the commands for updating a feature branch and explains what to do when Git reports a conflict. TL;DR Run git rebase with

Git Rebase Command: Update Branch Read More »

Git Shallow Clone on Linux

To get a Git repository’s current files without fetching its full commit ancestry, use a shallow clone. A shallow clone limits how many earlier commits Git includes while keeping the selected snapshot’s files. I’ll show you how to create a depth-one clone and check its history boundary. TL;DR Use a positive depth for the initial

Git Shallow Clone on Linux Read More »

Vim-Plug: Install Plugins in Vim

`Plug ‘tpope/vim-sensible’` can sit in `~/.vimrc` before its repository appears under `~/.vim/plugged`. What stands out to me is that the plugin choice stays visible in Vim’s configuration. Trace the declaration from `~/.vimrc` to the checkout directory. That lets you see what Vim-Plug changes in Vim. What Vim-Plug changes Vim-Plug is an optional plugin manager for

Vim-Plug: Install Plugins in Vim Read More »