1. Undo changes in the working directory git checkout — unmodifiedFileName # — implies that we are not checking out a branch. Stay on the current branch and check out the unmodified file. 2. Undo changes in the staging area… Read More
Basic Bash commands Crtl+A – move to the beginning of a line Crtl+E – move to the end of a line Crtl+F == right arrow Crtl+B == back arrow Crtl+D – delete a character Crtl+U – delete from curser positon… Read More
git branch -b new_feature git branch –no-merged # show the branches that are not merged yet. git merge –no-ff new-feature -m “merge new-feature branch” git branch -D new-feature # delete the working branch after merge is completed Working with… Read More
Some common git log comments that I use heavily. # view git logs git log #limit number of logs to show git log -n 1 # last commit git log -n 5 # last 5 commits git log –since=2017-06-01 git… Read More
This is a sample initial git set up commands I use for my projects. git config –system git config –global git config # this is for project basis configuration. #Configure initial set up git config –global user.name “Ankan Basu”… Read More
Working on MPLS network upgrade project. Found this youtube video really helpful. There are too many long videos on youtube. This one explains the technology in less than 10 minutes.
Friends, I am redesigning the site after a long time. I hope to make the site useful to everyone.