Git

Building Real-time Web Page Ranking Monitoring with GitHub Action

Recently, I had a requirement to monitor the ranking situation of a certain entry in a competition. Unfortunately, the event itself doesn’t have a ranking page, and the event data is paginated and unordered. Therefore, I thought of using GitHub Action to build a real-time web page ranking monitoring tool.

Feb 20, 2025

Command Line Git Operations Repeatedly Prompt for Username and Password

When executing git pull/push operations in the terminal, it keeps prompting for username and password, even though I’ve already entered them before. Here’s how to solve this issue. Git Prompting for Username and Password Username for 'https://git.xxx.com': Password for 'https://git.xxx.com': Solution Open the terminal and execute git config --global credential.helper store command to store credentials locally. Execute the git pull/push operation, enter username and password once, and it won’t prompt again for subsequent operations. Command Scope Explanation When using the --global parameter, the setting affects all Git repositories for the current user. The configuration is saved in the ~/.gitconfig file in the user’s home directory. If you want it to only affect the current repository, remove the --global parameter and execute git config credential.helper store. The configuration will be saved in the .git/config file of the current repository. Alternative Solutions If the above operation doesn’t work, try the following steps:

Jan 6, 2025

Get GitHub Education Verification for Free Copilot Access

The better AI code assistance tools are Cursor/GitHub Copilot/JB’s AI Assistant. Due to cost considerations, I only subscribe to ChatGPT, but I still need an AI tool for JetBrains IDEs. I decided to use my student identity to get GitHub education verification for free Copilot access.

Dec 27, 2024

Which Option to Choose for Git Merge

When submitting a Merge Request (MR) for a project branch, there are three options: Merge, Rebase, and Squash. What are the differences between these three options, and how should you choose? Here’s a summary.

Oct 30, 2024

Submitting PRs to GitHub Open Source Projects

This article introduces how to submit PRs to GitHub open source projects, including the advantages, implementation details, and relevant resources. These steps can help improve efficiency when contributing to open source projects on GitHub.

Mar 17, 2024

GitHub Copilot Usage

This article introduces GitHub Copilot usage, including its advantages, implementation details, and relevant resources. These steps can help improve efficiency when using GitHub Copilot.

Oct 30, 2022

SSH登录GitHub失败

本文是作者对SSH登录GitHub失败的介绍,包括SSH登录GitHub失败的劣势、实现细节、相关资料等,这些步骤可以帮助作者提高SSH登录GitHub失败的效率。

Oct 2, 2022

WeChat Official Account Failed to Upload GitHub Images

This article introduces the issue of WeChat official account failing to upload GitHub images, including usage scenarios and implementation details, to improve efficiency in resolving WeChat official account GitHub image upload failures.

Jul 1, 2022

Enabling GitHub Two-Factor Authentication

This article introduces enabling GitHub two-factor authentication, including usage scenarios and implementation details, to improve efficiency in GitHub two-factor authentication setup.

Jun 14, 2021

编写一个GitHub Action去统计仓库被star数

本文介绍关于编写一个GitHub Action去统计仓库被star数,包括使用场景、实现细节等,以提高关于编写一个GitHub Action去统计仓库被star数的效率。

Jun 14, 2021