Development notes

Thoughts, notes and ideas about development

Git cheat sheet

Git is distributed version control system It is very powerful tool and has a lot of features. Also there’re a lot GUI tools for working with git. But in this post I’ll show how to work with git from terminal (console) in Linux or using git-bash in Windows. The list of commands will be updated periodically. Identifying yourself To add user name and email globally: git config --global "John Doe" git config --global user. Continue reading

Git: How to remove merged branches locally

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Also Git is a very powerful tool. Git supports branches. And branches in git cost almost nothing. As a result when we create a new feature, we create a “feature branch”, work there. When a feature is complete the “feature branch” is merged to development or master branch. Continue reading