Commit b427e040 authored by rmrf's avatar rmrf
Browse files

Oprhan push works quite well

parent 07473c50
Pipeline #31890 failed with stages
......@@ -26,9 +26,10 @@ require 'jekyll/scholar/version'
task :github do |t|
system "git checkout --orphan upit"
system "git commit -m 'Push jekyll-scholar-extras #{Jekyll::ScholarExtras::VERSION} to github' "
system "git remote add origin"
system "git remote add origin"
system "echo 'push to remote without history'"
system "push origin master"
system "git push -u origin upit"
system "git remote remove origin"
system "git checkout master"
system "git branch -D upit"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment