Re:Ask HN: What are some Git aliases you setup that save you...
by fantapop on Friday July 07, 2023 @11:44AM
(#36633460)
Here are a couple that I use a lot. There's probably a shorter way to write them:
[ Parent
| on HN ]
Re:Ask HN: What are some Git aliases you setup that save you...
by MattBearman on Saturday July 08, 2023 @12:31PM
(#36645981)
Unless I’m misunderstanding you can checkout your previous branch with
git checkout -
(The same way you can use ‘cd -‘ to change to your previous directory)