802.1
ARM
ARMv8
BIOS
Bakery
Bash
C
C906
Clash
Cloudflare
Coding
Compiler
Debian
Docker
DokuWiki
Ethernet
GCC
GNU/Linux
Git
Internet
Issue
JavaScript
Markdown
Music
Network
OBS Studio
PCIe
PHY
Plugin
Python
RISC-V
RV-Dock
Regex
SD
SQL
SSH
Self-Develop
Server
Shell
Storage
TCP/IP
TSN
Tips
Tmux
Tool
Trace32
TypeScript
VS Code
Vim
WSL
Windows
Xterm
eMMC
Steps
* Run git reflog to see the reference logsReference logs, or reflogs, record when the tips of branches and other references were updated in the local repository. .
* Run git reset --soft …
read more…
read more…
Steps
* Run git log --oneline to list the commit (push-cmt) to be pushed and the SHA (rmt-head-sha) of the HEAD (rmt-head) of the remote repository.
* Run git rebase -i rmt-head-sha to re-order…
read more…
read more…
Steps
* Find the ID (denoted by pre-cmt-id) of the previous commit of the commit that you need to modify.
* Run git rebase -i pre-cmt-id.
* Modify pick to edit in the line where the commit to…
read more…
read more…
Steps
Append the following code to ~/.gitconfig. Then you can run
git lg, git lg1, git lg2 and
git lg3 to see the output, respectively.
Further Reading
* <https://stackoverflow.com/questions…
read more…
read more…