📄️ git commit --amend --no-edit
We are going to talk about the git commit option --amend --no-edit in this article.
📄️ Git Config Alias
Git config alias is a command that allows you to create a shortcut for a long command. For example, if you want to create a shortcut for the git status command, you can use the following command:
📄️ Git Config Diff
Git config diff is a command that allows you to set the default diff tool for Git. For example, if you want to set the default diff tool to vimdiff, you can use the following command:
📄️ GitHub SSH
If you want to use SSH to connect to GitHub, you can follow the steps below:
📄️ Multiple local GitHub Account
I started remotely working in 2019. I have two GitHub accounts: one for my personal projects and one for my work projects. I need to switch between the two accounts frequently.
📄️ Git Reset
Git reset is a command that allows you to undo changes to a Git repository.
📄️ Git Tag
Git tag is a command that allows you to add a tag to a commit. For example, if you want to add a tag named v1.0.0 to the latest commit, you can use the following command:
📄️ Git revert vs reset
Basically, there are three ways to undo a commit:
📄️ ERR Fatal bad object
The following error message is displayed when you try to operate on a git repo:
📄️ Git bisect
What is git bisect