Resources

INSTALLATION The following packages consists of all the installation files you need. Download the package and install all the files. (You need to install only sublime text or notepad++).


Text Editors You are free to use any text editor of your preference. However, we will be using either Sublime Text or Notepad++. You can install them from above download package.

For more information about text editors:


BASIC SHELL COMMANDS If you are Mac or Linux users, open your “Terminal”. If you are Windows users, open your “Git Bash”. Following are the basic commands you would need use throughout the course.

  • pwd - this prints the working directory that you are currently in
  • ls - list directory contents
  • mkdir - make a directory
  • cd - change directory
  • rm - remove a file
  • rmdir - remove a directory
  • touch - create a empty file

More information about shell commands here.


COMMON GIT COMMANDS

  • git clone repository url – make a copy of a remote repository locally
  • git status – see the current state of things in your local repository
  • git add filename – adds a file to the repository
  • git add . – adds all files under the current directory
  • git commit –m “your message” – records changes to the local repository
  • git pull origin master – retrieves all changes others made to the remote repository
  • git push origin master – sends all local changes to the remote repository and applies them to the local repository.


You can find more information about git here.
Connecting your Git with SSH
More Tips on git


Note:

  1. Aways make changes by using Git commands.
  2. Aways pull the latest content from your online repository before making git push. This makes sure that your local repository is in sync with that of your online repository. Otherwise you will get merge issues.