Git can be configured to ignore some files in your computer or repository you don’t want to track. These files can include log files, .env files that contain sensitive information, files generated automatically by your text editor or build system, or any locally generated files that your team members will not need. You use gitignore …
A list of basic git commands.
Git: How to add modified files and ignore untracked ones
Whenever you make changes to a bunch of files already tracked by git, there’s an easy way to add them without adding untracked files. The command is: git add –update or git add -u That’s it!
Check number of lines by user in git
Learn how to count the number of commits or number of lines a contributor has added to a git repository.
Git: How to set a default push remote repo
Learn how to make git push to the same remote branch name.