Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Below I would like to share 10 useful Git tips to improve your Git-based workflow. Create your own aliases for common commands to save you some time in the terminal.
Table of contents
1. Git aliases 🏷2. Compare commits ⚖3. Stashing uncommitted changes 🔖4. Pull frequently 📥5. Autocomplete commands 🤖6. Set a global .gitignore 🚫7. Delete local branches that have been removed from remote on fetch/pull 🗑8. Use Git blame more efficiently 🕵️♂️9. An alias of HEAD 👀10. Resetting files ↩Extras: ✨1 Comment
Sort: