How to push changes to remote repository with git
Suppose that you have committed changes to your local master branch and want to push these changes to the remote repository using git. Atlassian has a great tutorial on this. 1. First you have to...
read moreTutorial on updating website using Git over SSH
In a previous tutorial, we updated a webpage on GitHub Pages by using Git over https. In this tutorial, we will update the same website using Git over SSH. This requires that we generate an...
read moreTutorial Creating GitHub Site
This tutorial will show you how to create a simple static site GitHub site. Yes, it is free. You need to first sign up a free GitHub.com account. For each account, you get one GitHub site...
read moreVideo Tutorial on Learning Git and GitHub
Here is a video by GitHub Training and Guides. You can tell that the presenter is passionate about teaching git. He shows you git starting with the command line console. Then it explains what...
read moreHow to abandon changes in git
Suppose you are using git on the master branch and made a change to a file that you don’t want to commit. You want to abandon this change and restore the version that was committed. The...
read moreYou are in detached HEAD state and how to fix in git
Have you ever got this message in git saying “You are in detached HEAD state”… the HEAD is a git pointer to a branch that tells you which branch you are on. Somehow this pointer...
read moreHow to remove a branch in git
In this tutorial, we will learn how to remove a branch in git. The nice thing about git is that branching in easy and inexpensive. You can branch to perform experiements and if experiements...
read moreHow to delete a remote branch in git?
In git, to delete a remote branch the syntax is … git push [remotename] :[branch] As an example … git push origin :bugfix would delete the branch named “bugfix” from the...
read moreTutorial on Creating a branch with git
Following from our previous tutorial, we now create a branch call “bugfix”. Before branching it is nice to keep things in a clean state first. 1. Then type … git branch...
read moreAll contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.