Compare commits

...

2 Commits

Author SHA1 Message Date
MrPyriteMiner b617a92a28 Added some useful info about branches and force pushes 2024-09-15 11:59:47 +02:00
MrPyriteMiner ab01a4ed7d Added an answer to Ferdi's question 2024-09-15 11:54:54 +02:00
2 changed files with 11 additions and 1 deletions

View File

@ -10,4 +10,13 @@ continue with "git rebase --continue"
then you can pmossibly change the commit message then you can pmossibly change the commit message
then you can push then you can push
git log git log
exists as a log of what happened exists as a log of what happened
if you're on another branch, you can get the changes from main by using this command:
git pull -r origin (Branch)
e.g. git pull -r origin main
Then you can pull that and fix the conflicts to then merge them again.
how to force push (dark arts, don't do that on master branch, ever)
git push -f
--> this says "No, my local history is correct. Delete everything else"

1
The_Files.txt Normal file
View File

@ -0,0 +1 @@
It seems the files were hiding from Ferdinand.