Tutorials on Web Development, Programming, and Web Design

How to push changes to remote repository with git

In Tutorials

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 more

Tutorial on updating website using Git over SSH

In Tutorials

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 more

Tutorial Creating GitHub Site

In Tutorials

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 more

Video Tutorial on Learning Git and GitHub

In Videos

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 more

How to abandon changes in git

In Articles

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 more

You are in detached HEAD state and how to fix in git

In Tutorials

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 more

How to remove a branch in git

In Tutorials

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 more

How to delete a remote branch in git?

In Articles

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 more

Tutorial on Creating a branch with git

In Tutorials

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 more

Learn Web Tutorials is hosted by Hostmonster and design based on Wordpress template by Elegant Themes
All 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.