How-to articles, tricks, and solutions about GIT
How to Delete Both Local and Remote Branches in Git
Local and remote branches are separate objects in Git. If you need to delete both local and remote branches, delete them separately. See how to do it.
How to generate ssh key for git
To generate SSH key just follow these steps: 1 Open a terminal. 2. Type cd ~/ to go to your home directory. 3. Submit command - ssh-keygen -t rsa -b 4096 -C "email@example.com" (your email will be used as a label). 4.
How to Install Git on Ubuntu 18.04
Learn about how to install the latest version of Git on Ubuntu 18.04. See two methods: from Repository and from Source.
How to rename git local and remote branches
Follow these steps: 1. Switch to the branch. 2. Delete the old-name remote branch and push the new-name local branch. 3. Reset the upstream branch for the new-name local branch…
How to Retrieve Hash for Commits in Git
Learn about several ways of how to retrieve hash for commits in Git, the latest commits and commits history.