git-commit
Confusion between merge and commit in Git
I\'m a complete newbie to Git, not really sure what\'s going on. My buddy and I are working on开发者_如何学Python a project together.[详细]
2023-04-06 00:25 分类:问答Git commit style: All changed files at once or one at a time?
I am saving my work at night with a single commit for many files. I wonder if it would be better to commit for each file but this seems like a lot more work.[详细]
2023-04-05 12:25 分类:问答How do I commit only some files?
I have two projects. One is the \"official\" project and the second is 开发者_如何学编程a light modification (some files added). I created new branch and I put new files to them. But in during develop[详细]
2023-03-31 10:57 分类:问答Skip Git commit hooks
I\'m looking at a G开发者_如何学运维it hook which looks for print statements in Python code.If a print statement is found, it prevents the Git commit.[详细]
2023-03-31 06:23 分类:问答Has anybody seen git create a commit that has no date & an all-zero hash?
So a fellow team member, using TortoiseGit in Windows, pulled up his log the other day, and at the top was a commit with a hash entirely of zeroes, no user, and no date, but it did have four modified[详细]
2023-03-21 11:47 分类:问答Undo a git commit + git branch <branchname> -- with a twist
I am in the process of \"documenting in hind-sight\" the history of an application development, by moving existing snapshots of the project\'s directory tree (that were saved back then by plain &[详细]
2023-03-19 06:21 分类:问答How can I undo a `git commit` locally and on a remote after `git push`
I have performed git commit followed by a git push.How can I revert that change on both local and remote repositories?[详细]
2023-03-15 12:41 分类:问答How to see commits that were merged in to a merge commit?
If my-feature-branch w开发者_StackOverflow中文版as merged into my-main-branch, how can I see what commits were merged in from my-feature-branch?git log abc123^..abc123[详细]
2023-03-09 07:04 分类:问答Find all commits in a particular branch in GIT
This might be a repeated question but i didn\'t find exact answers. Lets say i have 2 branches br1 and br2 with 3 commits each.[详细]
2023-03-04 15:00 分类:问答problem with commit message after conflicts been resolved when merge
I am new in Git. Currently, I am experiencing this scenario: Step 0. I am working on a sub-branch Step 1. I have added & commited file1, file2, file3 on my sub-branch with commit message msg1, m[详细]
2023-02-19 06:43 分类:问答