|
You are here |
www.swyx.io | ||
| | | | |
www.maxpou.fr
|
|
| | | | | Boost your Git efficiency! A simple config for a smoother workflow. | |
| | | | |
timmousk.com
|
|
| | | | | An in-depth article on how to undo the git add command. How to undo using the git reset command? The definition. | |
| | | | |
purefun.dev
|
|
| | | | | If you install a new machine and forget to set your email and commiter name, then your Git history will be a tad ugly, with your machine name involved instead of a real email. So how do you set the default? Like this: git config --global user.name "Alice E" git config --global user.email "alice@example.org" Override per repo Ideally, do it before you start committing things. But what if you want different committer names and emails depending on the context? | |
| | | | |
andreabergia.com
|
|
| | | Git has an excellent tool designed to help you reorder the commit history: interactive rebase. This can be excellent if you want to keep the history clean, so that it helps other programmers understand the logic behind the changes rather than the actual sequence of commits. Lets walk through an example. Lets write some history Lets start by creating an empty project in a new directory: $ git init . | ||