See all blobs and commits that are not committed git fsck --lost-found Look at the content of a dangling...
git log --graph --oneline Prettier: git log --graph --oneline --decorate
git log --pretty=oneline
Use git reflog to find the SHA1 of commit of the branch. From that point, you can recreate a branch...
git commit --allow-empty
git clone -b mybranch --single-branch http://repo.com/repo.git
space next log entries q exit
git add -A stages All git add . stages new and modified, without deleted git add -u stages modified and deleted...
git branch -d the_local_branch delete a local branch git push origin --delete the_remote_branch [remove_the_local...
Best results in other decks
I use the Gemini web chat interface quite extensively. One thing that is tedious is giving it all the context...
Finding changes When you're looking for a specific change in Git, there are multiple axes you can choose: