App Development Best Practices -1 (Version Control)

Shailesh
4 min readMar 29, 2020

This is an article series on app development best practices. We use react as an example but most of the practices are framework agnostic and in general applies to software development

Version Control is one of the very important aspect of software development. It is one of the first things that needs to be setup before beginning any new project. Software development working without version control is a big NO and you will shoot yourself in the foot very soon.

Version Control lets you

  1. Track changes to your application source code
  2. Help manage releases and documentation
  3. Help collaborate with other developers

Git is one of the most popular version control system. One some OS (ex mac) Git Client comes preinstalled. You can also install for your platform from Git.

I have a app bootstrapped from create-react-app and I have modified the title from Learn React to Mitt Butik

create-react-app initialises the project with git, if git is already installed on your computer. You can see the .git folder that has created. Otherwise, the command used is

  1. git init : creates the necessary files that makes this directory recognisable as a git repository

--

--

Shailesh

Solving Problems. Making Software Better. Intrigued by Elegant Solutions. https://twitter.com/agent_hunt