Skip to content

Commit 829760c

Browse files
authored
1 parent a9d0ede commit 829760c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

githelp.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,8 @@ Make empty commit
238238

239239
Revert a Git repository to a specific version, previous commit
240240
git revert --no-commit 0766c053..HEAD
241-
git commit
241+
git commit
242+
243+
Merging two branches without merging files.
244+
Merge discarding any changes B would introduce. Still, the commits from B are now in A. Files are at the state of A before the merge.
245+
git merge -s ours B

0 commit comments

Comments
 (0)