Commit b427e040 authored by rmrf's avatar rmrf

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 git@github.com:rseac/jekyll-scholar-git.git"
system "git remote add origin git@github.com:rseac/jekyll-scholar-extras.git"
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"
end
......
Markdown is supported
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