2025-08-18 20:01:21

This commit is contained in:
swangnice
2025-08-18 20:01:21 +08:00
parent 8a920994bf
commit 7c31f72eea
254 changed files with 29201 additions and 3566 deletions

View File

@@ -32,12 +32,12 @@ git remote add private https://<git_domain>/<username>/project-private.git
## Branch
List all branches:
List all branches, the branch where you are currently working is marked with an asterisk (*):
``` bash
git branch -a
```
Move to a specific branch, the branch where you are currently working is marked with an asterisk (*):
Move to a specific branch:
``` bash
git checkout <branch_name>
```

View File

@@ -0,0 +1,11 @@
+++
title = 'Git'
date = 2024-09-20T04:17:50Z
draft = false
+++
## Commit
1. Add date and time in commit messages:
``` bash
git commit -m "$(date '+%Y-%m-%d %H:%M:%S')"
```