I truly believe that since I joined tacitknowledge the best tool added to my portfolio has been git (Yeah even more important than IntelliJ).
For those that do not know what is git, it is a Source Control Manager, what it does is to keep a truly history of what has happened to the files in the directory it is managing, all of this without of the need of having another server managing this versioning (of course you can have a Continuous Integration server where you can centralize shared code, but here I am talking about having git in your local environment without the need of having to be connected to internet to commit your changes).
For people that do not know about git, go to the following page http://git-scm.com download git for the operating system you're on, open your git shell or a terminal in case you're in Unix environment, choose a folder you want to keep track of and type "git init" and press enter, this will prepare all things git requires to start versioning, now is time to add the files you want to version by executing the command "git commit -a -m 'First Commit, starting to version all files'" and there you go, you have your first commit.
In later posts I will start to share all things you can do with git, compare file versions, create branches, rollback to a previous version, revert your changes, merge branches, reset your changes and more.
0 comments:
Post a Comment