There are two commands here, which can quickly list all commits of yourself or others
single line
git log --author devin --onelineFile name containing commit
git log --author devin --name-only
There are two commands here, which can quickly list all commits of yourself or others
single line
git log --author devin --onelineFile name containing commit
git log --author devin --name-only
The problem of garbled characters in different Chinese encodings, here is an example, for example, what will be displayed when there are three php files with different encodings at the same time. Let's look at the results directly through git log -p, and we will find that there are unintelligible garbled characters....
We can use git config --global alias.[alias] to "reduce the long and long git subcommands that are often executed" into simplified aliases. So you can also add your frequently used git commands to the global git alias through the git alias setting. Let's take a look at my practical example of how to reduce long subcommands into easy-to-use aliases.
How do I delete my remote branch on GitHub. First of all, you can use the command to view the origin git remote -v At this time, it may display as follows: origin https://github.com/DevinY/dlaravel.git (fetch) origin https://github.com/DevinY/dlaravel.git (push)
No Comment
Post your comment