Re: [Question] How to know which branch(ref) is the latest updated branch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can use `for-each-ref` for that. For example:

```
git for-each-ref --count=1 --sort='-authordate' refs/heads
```

https://git-scm.com/docs/git-for-each-ref#_examples has an example how to get 3 recent tags




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux