Snippets tagged “git-commit”
6 snippets use this tag.
- How to Add a Submodule in GitGit
Working with submodules is a common practice in Git. Here, we will represent to you the commands that will help you to add a submodule to a repository.
- How to Delete a File or a Directory from a Git RepositoryGit
Sometimes it is necessary to delete a particular file from your git repository. Learn how to do it following the guidelines presented in this tutorial.
- How to Make Git Forget About a Tracked File Which is Now in .gitignoreGit
Read this git tutorial and learn how you can force Git to forget about a file that was tracked but is now in .gitignore list.
- How to Push an Empty Commit in GitGit
Dive deep into the quirky realm of empty Git commits. Discover why and how to push an empty commit, and when it might just save your day (or at least your code)!
- How to Remove a Git SubmoduleGit
With the help of this tutorial, you will learn how to remove an unwanted Git submodule easily.
- How to Remove Files from Git CommitGit
This tutorial will help you get the answer to the question of removing files from git commit based on different scenarios. Also, read about used commands.