Git Index Page 1
Everything about what you should or should commit
In this tutorial, we are going to answer the question *should I commit...*. For example, should you commit .gitignore file? mix-manifest.json or what about package-lock.json? Check here the common questions about which files you should or should not...
Git Index Page 1
Different ways to revert git repository commit
To undo last commit not pushed try: git reset --soft HEAD~1. To undo last commit pushed use: git revert HEAD~1. Check this tutorial for more examples!
Git Index Page 1
How to overwrite local files while doing "git pull"?
In this tutorial we are going to explain how to force a git pull when there are untracked files that will be overwritten. This tutorial solved the error: Untracked working tree file 'public/images/icon.gif' would be overwritten by merge.
Git Index Page 1
How to check out a remote Git branch?
To checkout a remote branch you need first to do git fetch. Check this tutorial to learn with more details how to checkout remote branch with git.
Git Index Page 1
How to delete a Git branch and tags locally and remotely?
Learn how to use git to delete local and remote branchs. We also include how to delete tags.
Git Index Page 1
How to undo last commit not pushed?
Here we explain how to undo or fix wrong commited files to Git that were not pushed to external repository.