Archives 2017

Article / Entry section

Last update on .

Virtual environments are an extremely useful tool that I use every day. However, understanding exactly what a virtual environment was and how I should use it when developing my Python applications did not come easy. I read so many articles trying to grasp what they really were and how they were so beneficial. When it ...

Terminology section

Git push updates the remote repository with any commits made in the local branch. Example code:

git push 'remote-branch-name' 'local-branch-name'

Git pull updates the local branch with updates from its remote counterpart. This command is particularly useful when working with teams as you can update your local code with any changes that have been made/accepted on the remote branch. Example code:

git pull remote branch name local branch name

Git merge combines two branches together. The git merge command is powerful in that it can recognize and mark any conflicts that it finds so they can be corrected manually.

Git status shows the status of changes in the current working tree. The status of a file may be untracked, modified, or staged. (Only staged changes will be committed by the git commit command.)

A Git commit is a snapshot of changes on the current working branch. The commit tracks the changes that were staged and has a message that allows the developer to describe the changes made in that particular commit. A branch can contain many commits. Example code:

git commit -m 'Change background to blue'

A Git branch is a line of development in the repository. Branches are used to isolate working on different features, versions or environments. The main branch is called the master branch and is where all other branches merge into.

A project is a temporary endeavor to create a unique product, service or result. The key word here is "temporary". Once the result enters maintenance mode, it is no longer a project.

Monthly archives

Previous year


Next year