This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Misc good to have commands when using git | |
# | |
# Short and nice log | |
git log --pretty=oneline Path | |
# Create a new freestanding branch | |
git symbolic-ref HEAD refs/heads/<branch-name> | |
rm .git/index -ErrorAction SilentlyContinue |