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
4 changed files with 12 additions and 3 deletions

View File

@ -1 +1 @@
Hi
hi

View File

@ -11,3 +11,12 @@ then you can pmossibly change the commit message
then you can push
git log
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.

1
hi.txt
View File

@ -1 +0,0 @@
Hello!