Tutorials on Web Development, Programming, and Web Design

Restoring a Deleted Commit in git

In Tutorials

Not often needed.  But this tutorial will show you how to restore a commit that you have deleted in Git. Suppose we have two commits so far… And then suppose, we have deleted the “add...

read more

How to Sign Up for Free Git Repository

In Articles

For simple development work, it is good to get source code in a free Git repository.   GitHub is very popular and well known.  They provide free unlimited public repositories with unlimited...

read more

Get git to track empty directory

In Articles

Git does not track empty directories.  In order to get git to track empty directory, you have to put a file in there.  By convention, people put a file .gitkeep.  The file can be empty.

read more

Forgot rsa passphrase?

In Articles

If you forgot your rsa passphrase, you have to regenerate the keys.  View tutorial here. If you are using your rsa keys to connect to GitHub, then you have to log into GitHub.com and go to...

read more

How to use git clean

In Tutorials

The “git clean” command deletes untracked files from your git project.  It actually destroys the file from the working directory and you will not be able to recover them from the...

read more

Should .gitignore file be committed?

In Articles

In general, yes.  The project level .gitignore file should be committed to the repository. The project level .gitignore file lives in the root of your git project and contains lines of list of files...

read more

Reverting Back Changes in Git

In Tutorials

In this tutorial, we will show you how to revert back changes with Git, including … discarding changes made in your working directory unstaging changes made in the staging index amending a...

read more

Why the Double Dash in Git Checkout?

In Tutorials

You may be wondering why there is a double dash in the use of the git checkout command as in … git checkout — index.html when you want to revert back a change to index.html file in your...

read more

Video Tutorials for Learning GIT for Beginners

In Resources Videos

Here are some good video tutorials for learning GIT for beginners… This one is about Git in relation to GitHub… CodeSchool has a beginner GIT course here in video format.  The intro...

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.