Skip to main content

10 docs tagged with "git"

View All Tags

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:

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:

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.