From charlesreid1

No edit summary
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
the thing we always come here for:
the thing we always come here for:


<pre>
<pre style="white-space: pre-wrap;">
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>

Latest 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;