Hello,
Git is getting more popular and it's really good. So here is a quick introduction how to get started with it.
First step is to install the tool - you can download it from the official website:
https://git-scm.com/downloads
There are versions for many different OS such as Linux, Windows, Mac OS X and Solaris.
After installing it you should be able to open GIT bash where the fun begins :)
Set your user details such as name and e-mail - this will appear in the commits.
git config --global user.name <your_username>
git config --global user.email <your_email>
It's good to have nice merge tool. There are some supporting 3-way diffs and some usual 2-way diffs. Two of them are worth recommending at this point:
- Meld - http://meldmerge.org/
- Kdiff3 - http://kdiff3.sourceforge.net/ (supports also Windows OS)
You can also install the dedicated tool such as for example:
- TortoiseGit - https://code.google.com/p/tortoisegit/
That's it basically. Cheers!
This post first appeared on IT Code Hub - Java, Mobile Apps, Linux And More, please read the originial post: here