From charlesreid1

No edit summary
Line 24: Line 24:


<pre>
<pre>
git branch new-feature
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='Ch4zm of Hellmouth'; GIT_AUTHOR_EMAIL='ch4zm.of.hellmouth@gmail.com'; GIT_COMMITTER_NAME='Ch4zm of Hellmouth'; GIT_COMMITTER_EMAIL='ch4zm.of.hellmouth@gmail.com';" HEAD;
git reset --hard HEAD~1
git checkout new-feature
</pre>
</pre>

Revision as of 12:58, 19 August 2025

A curated list that will one day soon become git-awesome: Git Resources

Notes on my most common git operations: Git Operations

Using Git to deploy static web content: Git Deployment

Syncing a fork: Git/Sync a Fork

Deleting a remote branch: Git/Delete Remote Branch

Tags: Git/Tags

Submodules: Git/Submodules

Notes on teaching git: Git/Software Carpentry


quick ref

the thing we always come here for:

git filter-branch -f --env-filter "GIT_AUTHOR_NAME='Ch4zm of Hellmouth'; GIT_AUTHOR_EMAIL='ch4zm.of.hellmouth@gmail.com'; GIT_COMMITTER_NAME='Ch4zm of Hellmouth'; GIT_COMMITTER_EMAIL='ch4zm.of.hellmouth@gmail.com';" HEAD;