Best of GitNovember 2021

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Write Good Commit Messages with Commitlint

    Commitlint is a tool that lints your commit messages and makes sure they follow a set of rules. It runs as a husky pre-commit hook, that is, it runs before the code is committed and blocks the commit in case it fails the lint checks. We are going to see how we can set up commitlint in a simple JavaScript project.

  2. 2
    Article
    Avatar of gcgitconnected·4y

    Top 30 Git Commands You Should Know To Master Git CLI

    Git is the most popular distributed version control system in the world. Learn the most essential Git commands to boost your productivity. Set up your username and email to link commits with your name. Cache your login credentials to avoid re-typing the username and password every time you perform a commit.

  3. 3
    Article
    Avatar of devtoDEV·5y

    GIT CHEATSHEET

    Git is the free and open-source distributed version control system that's responsible for everything GitHub related that happens locally on your computer. This cheat sheet features the most important and commonly used Git commands for easy reference. Use these commands to help you understand Git and its features.

  4. 4
    Article
    Avatar of dzDZone·4y

    Top 5 Productivity Plugins For Dev Teams

    GitLive adds a team view showing all work in progress for each collaborator from your Git repository. Tabnine is an AI code completion tool that indexes your code and finds statistical patterns to create customized suggestions. Stepsize is an issue tracker inside your editor for managing technical debt and maintenance issues.

  5. 5
    Article
    Avatar of itsfossIt's Foss·5y

    exa: A Modern Replacement for the ls Command

    Exa is a new command line tool for the Linux operating system. It is similar to the popular ls command, but with more options. Exa can be used in conjunction with other commands to make it easier to use. It can also be used by itself to show a list of files.

  6. 6
    Article
    Avatar of hashnodeHashnode·4y

    Removing a .env file from Git history

    You accidentally pushed a file with secrets or a password that shouldn't have gotten into the Git history. The best thing to do now is to remove the file right away and add it to your .gitignore file. If we look at our Git history, we can still find the file and expose the secrets.

  7. 7
    Article
    Avatar of devdojoDevDojo·4y

    Learn how to use Git and GitHub in a team like a pro

    In this tutorial, you will learn how to work in a team with a central repository on GitHub. You will work on issues, commits, pull requests, code reviews, and more. The project will use two fictional team members, let's call them Harry and Hermione. Harry will be the one working locally in our development environment. Hermione will choose to work directly on GitHub by using an online VSCode.

  8. 8
    Article
    Avatar of devtoDEV·4y

    Get lazy with lazygit

    lazygit is a terminal UI for git commands written in Go. It's easy to download and install, so definitely give it a go! With lazygit you can quickly see through the changed files and stage/unstage them accordingly. As well as, you can see the changes on each file very easily.

  9. 9
    Article
    Avatar of hashnodeHashnode·4y

    Git basics: Conventional commits

    Conventional commits is a set of rules to help you describe a commit message. It's not a golden standard in the industry, some companies use it, and some have their commit structure. Conventional Commits helped me make commit messages so much easier and more precise for my team. Here are some real-world examples, here are some fantastic resources.

  10. 10
    Article
    Avatar of infoworldInfoWorld·5y

    GitHub introduces code review controls

    GitHub has added code review restrictions and improved mobile notifications for users of its popular Git-based version control system and code-sharing site. Among the goals of the code review limits is an attempt to address “drive-by” pull request approvals and spammy change requests.

  11. 11
    Article
    Avatar of devdojoDevDojo·4y

    Learn to push an empty commit

    Git is allowing us to push an empty commit without adding any staged files to the branch, by using one option --allow-empty during git commit. The above commands will add all unstaged files and add commit and push the code to the master branch, after that our delivery pipeline will be started.

  12. 12
    Article
    Avatar of dzDZone·4y

    The Best VS Code Extensions to Supercharge Git

    Git Graph is the most visually appealing way to interact with Git in VS Code. GitLive adds a tab to VS Code where you can see your fellow collaborators if they are online, what issue and branch they are working on, and even their uncommitted changes — all updated in real-time. Git Automator allows you to add and commit files with a shortcut.

  13. 13
    Article
    Avatar of csharpcornerC# Corner·4y

    The Best VS Code Extensions To Supercharge Git

    Git Graph is the most visually appealing way to interact with Git in VS Code. Git Automator allows you to add and commit files with a shortcut. Git Urgent lets you git add all, commit and push with one command. GitLens has become the de facto standard for working with Git.