Git History der erzeugten Liste abschneiden #4

Closed
opened 2023-10-14 22:04:23 +00:00 by robin · 2 comments
Owner
#!/bin/bash
git checkout --orphan temp $1 # create a new branch without parent history
git commit -m "Truncated history" # create a first commit on this branch
git rebase --onto temp $1 master # now rebase the part of master branch that we want to keep onto this branch
git branch -D temp # delete the temp branch
``` #!/bin/bash git checkout --orphan temp $1 # create a new branch without parent history git commit -m "Truncated history" # create a first commit on this branch git rebase --onto temp $1 master # now rebase the part of master branch that we want to keep onto this branch git branch -D temp # delete the temp branch ```
Author
Owner

Garbage Collector Cron aktiviert

Garbage Collector Cron aktiviert
Author
Owner

Gelöst mit Commit cb0c679cc7

Gelöst mit Commit cb0c679cc7103a94b00e73876170b388b45ea3d0
robin closed this issue 2023-10-29 17:57:39 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Public/Adblocker#4
No description provided.