Thursday, May 28, 2015

Fish Shell: Could not set up terminal

Running into issue with fish shell inside a docker container. When tried to fire up fish shell, I got a message "Could not set up terminal". Searching around forum post, the simple solution is to set the environment variable TERM = linux. See screenshot.

Thursday, March 26, 2015

Use specific branch/tag of submodule

To use a specific version of a submodule in your own project, first add that module to your project using the git submodule add command, then use git checkout to switch to the branch/tag that you want to use. Finally when clone your project, use git clone --recursive command

git submodule add {path_to_the_submodule}
cd submodule_directory
git checkout {branch/tag}
git commit {everything}

// this will also include all the files in the submodule
git clone --recursive {path_to_project}