In this tutorial you will learn how to list and create branches in Git using the “git branch” command. …Continue reading
Git show command #83
In this tutorial you will learn how to use the Git show command. …Continue reading
Git ls-tree command #82
In this tutorial you will learn how to use Git ls-tree command and tree-ish ids. …Continue reading
Git reset command #81
In this tutorial you will learn about the Git reset command: how to perform a git reset and how to use different modes on git reset: soft, mixed and hard. …Continue reading
Git Undo changes in three-trees #80
In this tutorial you will learn how to undo changes in Git relative to its three-trees architecture. …Continue reading
Git clean command #79
In this tutorial you will lean how to use the Git clean command in order to remove untracked files from the working tree. …Continue reading
Git Commit empty directory #78
In this tutorial you will learn how to commit an empty directory in Git. In order to do this you will have to make a hack: commit a file located inside of the directory that you want to commit. Most of the time that file name is .gitignore. Remember that Git is a VCS used for tracking files and not directories. The directories are used just to structure the file system. …Continue reading
Git Ignore tracked files using .gitignore #77
In this tutorial you will learn how to ignore tracked files in Git using .gitignore and git rm [–cached] command. …Continue reading
Git Ignore files globally #76
In this tutorial you will learn how to ignore files globally in Git using a .gitignore file external of your project witch rules apply to all projects, repository independent. …Continue reading
Git Ignore files using .gitignore #75
In this tutorial you will learn how to ignore files in Git using .gitignore file. I will show you the most useful patterns that you will use to ignore both files and directories. …Continue reading