Git

Removing Tracked Files

git rm --cached [path/file(or directory)]

Use the -r flag to recursively remove a directory’s contests.

Merge

Change a commit message

git commit --amend -m "New commit message."

Force push to update the history of the remote repository:

git push --force branch-name

What the command does is overwriting the most recent commit with the new one.

The -m option allows you to write the new message on the command line without opening an editor session.

Commit Message Style

Various commit message styles.

  • feat: use versioningTag for auro-helpers auro-formkit

  • feat(lit): make disabling dev mode warnings simpler (#4901) lit

  • Remove dynamic naming for DEV_MODE polyfill support functions. (#2152) lit