Horje
git checkout next commit Code Example
git checkout next commit
git checkout $(git rev-list --topo-order HEAD..towards | tail -1)

# where towards is a SHA1 of the commit or a tag.

Example: git checkout $(git rev-list --topo-order HEAD..main | tail -1)

# Will move 1 commit towards the last commit of the main branch




Shell

Related
E: Package 'tesseract-ocr-dev' has no installation candidate Code Example E: Package 'tesseract-ocr-dev' has no installation candidate Code Example
copy first 100 lines from a file linux Code Example copy first 100 lines from a file linux Code Example
vite command Code Example vite command Code Example
oh-my-posh autosuggestions Code Example oh-my-posh autosuggestions Code Example
delete multiple rules ufw Code Example delete multiple rules ufw Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10