Skip to content
View wenzhaojia2000's full-sized avatar

Block or report wenzhaojia2000

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
wenzhaojia2000/README.md

Here's a useful command to list all commits made by you in the current working repository at a certain date. Just stick the following at the end of your .bashrc file:

# Logs git commits by you on a certain date
commitsMade () {
        git log --pretty='format:%C(yellow)%h %Creset%s%Cred%d' --branches \
    --after="$1 0:00" --before="$1 23:59" --author "`git config user.name`";
}

Now both these commands list commits made today:

$ commitsMade today
$ commitsMade

This command lists commits made yesterday:

$ commitsMade yesterday

And this on an arbitrary date:

$ commitsMade 2024-08-02

Pinned Loading

  1. bsc-structured-light bsc-structured-light Public

    Thesis for Bachelor of Science.

    TeX

  2. quantics-analysis-gui quantics-analysis-gui Public

    Thesis project for Master of Science.

    TeX

  3. hpc-phas0102-2022 hpc-phas0102-2022 Public

    Work for high-performance computing module, 2022-2023.

    Jupyter Notebook 1

  4. slowed-down-sudoku-bruteforcer slowed-down-sudoku-bruteforcer Public

    Sudoku algorithm visualiser - see a backtracking algorithm solve a sudoku in real time

    JavaScript