Sunday, January 5, 2014

Get Started with Git in Five Minutes

Hi,

Fear Git? Fear no more.

If you have five minutes and Linux Mint or Ubuntu or another Debian-based Linux, you can try Git now. Once you git, you never go back.

Install


sudo apt-get install git
sudo apt-get install meld
sudo apt-get install nano


Configure


git config --global user.name "Your Name"
git config --global user.email email@example.com
git config --global core.editor "nano"
git config --global merge.tool meld


Create First Repository

cd ~
mkdir ./projects
cd projects
mkdir ./test
cd test
touch testfile
git add .
git status
git commit -m "Initial commit of test file for tutorial!"
 
Done!

Further Steps

Proper introduction to git with the git book
Signup for Bitbucket for free private git repos and push repo to Bitbucket
Signup for Github and push useful piece of open source code to your profile
Change core.editor and merge.tool to your favourite editors like Sublime3 or KDiff

1 comment:

  1. Top 10 best slots casinos for 2021 - SOL.EU
    Best Slots Casino: Best Real Money Slots Sites 2021 septcasino · Red Dog Casino: Best https://sol.edu.kg/ Overall worrione Slots deccasino Casino For USA Players · Ignition Casino: Best Casino For goyangfc Roulette

    ReplyDelete