Create or update a commit by a specified author

Print Friendly, PDF & Email

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…

Exceptions in a .gitignore file

Print Friendly, PDF & Email

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…