GitHub – How to Fork

How to Fork in GitHub In Git, forking a repository means making a copy of a repository, stored either publicly or privately, under your personal account on a remote hosting service, such as GitHub.  For example, if you were to fork the VS Code GitHub repository, the new copy would be stored at https://github.com/<Your-github-account-name>/vscode-gitlens. Forking […]

Undo Git Commit

Undo Git Commit Even for the more experienced and diligent developers, mistakes happen when working with Git repositories. So what is the best step to take after you make a mistake in Git? Well, that depends.  Depending on the scenario at hand, the best process for fixing your mistake might be to undo it all […]

GitHub Delete Repository

GitHub Delete Repository Once a Git repository has been cloned from a remote hosting service, like GitHub, to a computer, an identical copy of the contents is created on the local machine. This process is completed through the Git clone action.  This is important to understand, because deleting a GitHub repository from a local machine […]

GitHub Add SSH Key

GitHub Add SSH Key If you’re not already familiar, SSH, or secure shell, is a network protocol that allows you to safely encrypt any data you’re pushing from a local computer to a server over the Internet. GitKraken makes the process of generating new SSH keys and adding them to GitHub easy, safe, and intuitive. […]

Git Push Tag

Git Push Tag Before we get started on how to push a Git tag, let’s give a quick refresher on the fundamentals of tags in Git.  What is a Git tag? A Git tag is a reference to a specific commit within the history of a Git repository. In Git, tags are often used to […]

GitHub Pull Requests

GitHub Pull Requests In Git, a pull request is an event involving a project contributor who is requesting that a repository maintainer review the code they wish to merge into a project’s repo. This feature is not built into Git itself, but is a function controlled by the remote repository hosting service, such as GitHub.  […]

Git Squash

Git Squash Commits What does it mean to squash commits in Git? Squashing is a way to rewrite your commit history; this action helps to clean up and simplify your commit history before sharing your work with team members. Squashing a commit in Git means that you are taking the changes from one commit and […]

Git LFS

Git LFS stands for Large File Storage and is a tool many developers use to save space when working with binary files. In short, Git LFS is a Git extension that allows users to save space by storing binary files in a different location. GitKraken makes it easy to initialize LFS on existing repositories and […]

Git Diff

What does ‘diff’ mean in Git? A diff takes two data sets and shows you what has changed between them. Data sets can be files, commits, branches, etc.  Let’s walk you through the concept of a diff and the benefits of using a robust diff tool, like that offered in the GitKraken Git GUI.  If […]

Git Remote

A remote repository (often called a remote), is a Git repository hosted on the Internet or some other network. Cloning a Remote Repository Cloning a remote in Git creates a local version of that repository on your machine, giving you a sandbox to experiment in without affecting the original codebase. Cloning also establishes a connection […]