Version Control

Revision control, also known as version control and source control (and an aspect of software configuration management), is the management of changes to documents, computer programs, large web sites, and other collections of information. Changes are usually identified by a number or letter code, termed the "revision number", "revision level", or simply "revision". Each revision is associated with a timestamp and the person making the change. Revisions can be compared, restored, and with some types of files, merged.

snippet - Cancel git merge keeping your changes
16 May, 2019
You can stop merge keeping all current changes in the working directory using stash. Witch stops the on going merge automatically.
snippet - Git: Delete branches not in origin any more
8 Mar, 2017
Usually you can remove branches that have been deleted on remote with prune (git fetch -p). Although sometimes there are stale branches and it needs a different approach. Reference to original source...
snippet - Git: Checkout all changes
13 Jul, 2015
When you have multiple instances or sync for local ide. You might want to checkout all changes and then do git pull. The issue is that there are different commands for different actions. This can...
snippet - Git: Add more files to previous commit
8 May, 2015
How to add files that you forgot to commit, or you want to create more changes to the last commit. It is really simple, just commit your changes and use amend. NB: You can only do this, before you...
snippet - Git - Rename last commit
7 Mar, 2013
If your message name goes wrong or gets accidentally submitted, it isn't too late. NB: If you have already pushed your commit you can't do it or you won't be able to use you repository later.