Bitbucket: Branch or fork your repository
There are a number of ways to get your Bitbucket Cloud repository code so that you can work on the project. Each method is slightly different and is done for different reasons. What is a branch? What is a fork? Branching and forking provide two ways of diverging from the main code line. Both Mercurial […]
Bitbucket: Import A GitHub Repository Into Bitbucket
Login to your Github Account and get the URL of Repository Login to your github account and go inside the repository you wish to be copied to bitbucket Click on the drop down menu from code and copy the URL under HTTPS: In our case below is the URL we have copied: Importing the repository […]
Google Cloud: Managing infrastructure as code with Terraform, Cloud Build, and GitOps
This tutorial explains how to manage infrastructure as code with Terraform and Cloud Build using the popular GitOps methodology. The term GitOps was first coined by Weaveworks, and its key concept is using a Git repository to store the environment state that you want. Terraform is a HashiCorp open source tool that enables you to predictably create, change, and improve your cloud infrastructure by […]
GIT Cheat Sheet
Google Cloud: Configuring CL/CD Pipeline using Cloud Build And GitHub
Overview Cloud Build uses build triggers to enable CI/CD automations. You can configure triggers to listen for incoming events, such as when a new commit is pushed to a repository or when a pull request is initiated, and then automatically invoke a build when new events come in. You will create a trigger and configure that trigger […]
Google Cloud: Introduction to Cloud Source Repositories
Overview Google Cloud Source Repositories provides Git version control to support collaborative development of any application or service. In this lab, you will create a local Git repository that contains a sample file, add a Google Source Repository as a remote, and push the contents of the local repository. You will use the source browser included […]
Google Cloud: Deploying Apps using Git and Kubernetes Engine
Google Kubernetes Engine (GKE) provides a managed environment for deploying, managing, and scaling your containerized applications using Google infrastructure. The GKE environment consists of multiple machines (specifically, Compute Engine instances) grouped together to form a cluster. In this lab, we will download a sample app from GitHub and learn how to deploy applications to Kubernetes Engine. Download a sample app from […]
Git: Working with Bitbucket Remote Repository
As a developer, you are required to push your codes quite often to a remote repository so that your team has access to it. Secondly, it is quite prudent to have all your codes in the remote server, just to avoid any disaster which may arise in case of your desktop/laptop failure. You won’t like […]
Git: Understanding Git logs and Git tags
Git Log: Git log comes handy when you want to keep track of history of commits you have made to your code. Running “git log” will basically show you the history of commits made by you. The command “git log — oneline” with show shorter version of commits in one line. If you want to […]