List
git config --global -l
Recent
git config --global alias.recent 'for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"'
List
git config --global -l
Recent
git config --global alias.recent 'for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"'
function clickFileViewedViaRegex(regex, markAsViewed = true) { | |
document.querySelectorAll('.file').forEach((item) => { | |
if (item.querySelector('.file-header a[title]').getAttribute('title').match(regex)) { | |
var checkbox = item.querySelector('.js-reviewed-checkbox'); | |
if (markAsViewed && !checkbox.checked) checkbox.click(); | |
if (!markAsViewed && checkbox.checked) checkbox.click(); | |
} | |
}); | |
} |