Using Git

Version Date Notes By
0.1 2019-07-01 Initial release JFM

Introduction

Git is a distributed version-control system for tracking changes in source code during software development

Git Workflow Cycle

This is just a common workflow cycle and probably fits 80% of what you use on a daily basis. There are a lot of other commands that you can check on the git documentation

This commands are for the terminal version, there are a lot of gui clients that you can use instead using the terminal.

  1. Start working on a project

git clone <project_url>

This is create a local repository with all the source files from the remote repository. You only need to do this once.

  1. Update a working directory

git pull

  1. Commiting changes to local repository

git commit

  1. Pushing changes to remote repository

git push