Tutorials on Web Development, Programming, and Web Design

How to create a local repository with git to provide version control

In Tutorials

Let’s say that you just want use git to do version control of some files on your hard disk.   You don’t need to create a repository on a server or in the cloud.  Just install git on...

read more

How to commit a file without staging it in git

In Articles

For simple scenarios, you can save a bit of typing by committing modified files in git without needing to explicitly stage them first. Suppose you are constantly changing a file (such as app.js) and...

read more

gitk – View git logs visually using a graphical user interface (GUI)

In Articles

Forget about remembering all the flags and options for “git log”.   Next time, try typing “gitk” at the command line.   It brings up gitk, a graphical user interface for...

read more

git vocabulary

In Articles

Staging Area – place where you put your changes to be stage and get ready to be committed.  For historical reason, this is also known as the “index”.   “git add” puts...

read more

Some videos on learning git

In Resources

Here are some videos found on the web on learning git … Webcast “The Basics of Git and GitHub” (July 2013) by GitHub Training and Guides … Jessica Kerr’s talk at JDD...

read more

What does git reset do?

In Articles

git reset kind of rolls thing back.   How exactly it rolls things back depends on which of these three you do … git reset --soft git reset git reset --hard Don’t do the last command,...

read more

Does git add do recursively?

In Articles

Let’s say you do the git command … git add . or git add -A . See what is the difference between the two commands.  The . means is the <pathspec> for the current directory.  We...

read more

What is the difference between “git add .” and “git add -AR...

In Articles

If there are only changed or new files, then there is no difference between … git add . and git add -A . The command “git add” adds files to the index to prepare the content staged...

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.