Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
CI/CD là gì? – Cũng hơn một tháng kể từ bài viết gần nhất, nay mới có thời gian ngồi viết lách tiếp. Dạo gần đây thường release các dự án outsource nên cũng hay làm documentation cũng như mở các dự á...
Tôi có thể hướng dẫn bạn cách triển khai ứng dụng Laravel sử dụng GitLab CI/CD và Docker trên CentOS. Bạn cần thực hiện các bước sau:Cài đặt ACL trên CentOS bằng lệnh sau:yum -y install acl
Tạo một n...
I found a solution! I can't explain why it works, but it fix the error.I had previously tried this with a git submodule update between step 3 and step 5, and that didn't seem to work. However:git subm...
The problem was in a mismatch between VPN MTU and Linux under WSL2 MTU sizes. It can be identified via 2 commands: Windows PowerShell (run as administrator) netsh interface ipv4 show subinterfaces Not...
Perhaps these FILLFACTORs have been automatically generated by the SQL server.
Perhaps. And if so, there's no need to version them.
You version enough to recreate the project entirely from the repos...
Is there any way to get a list with the names of the modified files in a branch if it has already been merged into another branch?
Find the merge, then git diff --name-only $merge^1...$merge^2. See...
As far as I know you can't push an empty directory to git (and even if you are able to, you are not able to pull it down).
Edit: see this discussion: How do I add an empty directory to a Git repositor...
These build-with-just-one-tool conceits might make fun puzzles, but the fact is Git's one tool in a very capable toolbox.
git log --pretty= --name-status | awk -F$'\t' '!seen[$2]++ && $1=="A"'
will f...
Assuming that you still have:
A' -> A'' -> B'
what we need to do is combine A'' and B' together. Once you do this, both the addition and removal of 'o' will be in a single commit (say B'') and they wi...
To run git diff, disable shallow fetch on checkout:
Shallow fetch
https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/pipeline-options-for-git?view=azure-devops&tabs=yaml#shallow-fetch...
Generally speaking don't use git add . as an everyday command. Especially if it's not what you want. And if you are adding a massive load of files, just follow it with a git reset before your commi...
Lost your password? Please enter your email address. You will receive a link to create a new password.
Donate
Thank you for visit here to donate to us, you think it's just a cup of coffee, but with us, it's really meaningful and contributes to help this blog grow more and more.
You can support us in one of the ways below: