Thursday, August 2, 2018

Expect script

Link: https://likegeeks.com/expect-command/

Thursday, March 29, 2018

Important GIT tricks


  1. To view the diff of the files using vimdiff, 
    1. Open ~/.gitconfig and append the following lines
      [diff]
        external = git_diff_wrapper
NOTE: you can also do it, by issuing "git config --global diff.tool vimdiff", but I have not tried.
References: https://technotales.wordpress.com/2009/05/17/git-diff-with-vimdiff/
https://stackoverflow.com/questions/3713765/viewing-all-git-diffs-with-vimdif

2. To ignore the cscope files showing from "git status [-s]", do the following.
- go to the working directory
- and add cscope file(s) in .gitignore file