Use git commit -m <message> to create a new commit with the specified <message>. Use the –author option to change the <name> and <email> of the commit’s author. git commit -m <message> –author=”<name> <email>” # Make some changes to…
Category: GitLab
Exceptions in a .gitignore file
You can tell Git to ignore some files or directories using a pattern. However, there are some exceptions we don’t want miss files which are matched to the pattern. In…