Technology Insights

Get the Latest Git Repository Tag

To obtain the latest git repo tag issue the below command. In my case this is how we list the latest master version of what is pushed to our test server or live server. bash [web@server project]# git describe 1.0.0-21-g58c28a4 Our format is main_version-revision-hash which will ensure that all commits are unique. You can issue…

Technology Insights

Rollback a SVN File By Using Merge

Rolled out an SVN file a bit early? Thought you fixed a problem but accidentally made it worse? Rollback the file by using the following example. In the below example the current SVN revision is 102 and the file was accidentally upgraded to soon from version 101 to version 102. Verify Same File: svn diff -r 102:101…