Skip to main content

Git Basic Commands

In this post we will look the very basic commands needed for Git based version control.

[pre class="brush:bash"]
# clone repository
git clone cloning_address

# display the status
git status

# optional adding user name and email
git config username
git config useremail

# add all files to the repository
git add *

# commit changes with a custom message
git commit -m "commit message"

# push changes to the repository
git push

# pull repository to the current directory
git pull


Popular posts from this blog

How to Safely Uninstall Python from Mac OS X

Mac Laptops comes with Python pre-installed, but if you install another version of Python probably from it might interfere with the default Python installation. Thus it is recommended to install other Python versions through Homebrew or mac ports.

Advantages and Disadvantages of Electro-oculography (EOG)

In the previous post we looked at what is EOG? In this post we will look at the advantages and disadvantages of EOG.

What is your Lucky Colour?

Colours and You
Which colour can bring you luck and enhance your day? This can be identified by calculating the birth number,