Open
Description
Description
It is only possible to checkout old commits, but there is no way to get back to HEAD then.
Reproduce
- Start Jupyter Lab in git folder
- Checkout previous commit (or another from the history) on the current branch (there must be at least two commits to reproduce the behavior)
- Now try to get back to the most recent commit
- Profit ;)
Expected behavior
You won't be able to do that since there is no newer commit items in the history bar.
Proposal
I propose to add --all
argument to the subprocess in the git.log
function inside the file git.py
. After that, it would be possible to checkout newer commits, but at the same time, git history will contain commits from other branches...