• support[@]kurinchilion.com
  • +1 (888) 666-4252

Git: How to make a file not to be tracked in future commits?

Oct 01, 2017 - by kurinchilamp 422 Views
As a developer, you may come across scenarios when you think that certain SPECIAL files should not be tracked in Git commits. As the first step, commit all changes in your repository and then add those SPECIAL files to .gitignore To remove a file (not delete) from getting tracked in your Git repository use: $ git rm --cached sampleconfig.txt To remove all files that is referenced in your .gitignore use: $ git rm -r --cached . (more…)
Continue Reading

How to run multiple node versions in a computer?

Jul 16, 2017 - by kurinchilamp 408 Views
Solution is to use Node Version Manager (nvm) which helps manage multiple version of node versions. $ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash To see the list of all available nvm versions, $ nvm ls-remote Currently, Node v6.11.1 has the long term support (Latest LTS: Boron). We will setup that first version $ nvm install 6.11 The above command will install Node.js version 6.11.x (where x will be the last available version number) To find where the node version is installed, type $ nvm which 6.11 As of this writing, the latest version available is v8.1.4 $ nvm install 8.1.4 When nvm installs the corresponding npm package also gets installed. You can switch between different versions of the node by typing $ nvm use 6.11.1 or $ nvm use 8.1.4 To list all the available versions of installed node versions, type $ nvm ls
Continue Reading

How to move the atom editor installable file to a different location?

Apr 11, 2017 - by kurinchilamp 414 Views
When Atom editor is installed, it creates a symbolic link in /usr/local/bin folder. Get the new folder path where atom editor installable file resides and run the following command in the terminal $ ln -s /NewFolder/Atom.app/Contents/Resources/app/atom.sh /usr/local/bin/atom If a link is already created for the atom editor, then you need to remove the existing symbolic link before creating a new one $ unlink AtomSymbolicLink (OR) $ rm AtomSymbolicLink
Continue Reading

How to open a file in Atom editor from a Mac terminal?

Mar 17, 2017 - by kurinchilamp 467 Views
When atom installs, it sets up a symbolic link to the location where it is installed. You can open a file or folder in atom by using the following commands a) Open the editor $ atom b) Open a file $ atom index.html c) Open atom in the current folder $ atom .
Continue Reading

Git: Reset local branch to make it the same as remote branch master

Feb 22, 2017 - by kurinchilamp 418 Views
Go to your local repository in bash $ git fetch origin $ git reset --hard origin/master To clean and remove untracked files and directories $ git clean -fdx
Continue Reading

Git: How to reset Develop branch to be in sync with Master branch?

Feb 15, 2017 - by kurinchilamp 810 Views
First checkout Develop branch $ git checkout dev Then, reset it to Master branch $ git reset --hard master Make sure to push the changes by force to make origin/dev to be the same as origin/master $ git push --force origin develop
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.