git clone https://gist.github.com/ishu3101/6fb35afd237e42ef25f9
mv 6fb35afd237e42ef25f9 ConvertTo-Markdown
cd ConvertTo-Markdown
git remote add github https://github.com/ishu3101/ConvertTo-Markdown
git push github master
git remote rename origin gist
git push github master # To github
git push gist master # To gist
This will also push back your changes to the gist and not only the github repo.
#!/bin/bash
echo "โ Starting Bundler and dependency fix..."
echo "๐น Installing latest Bundler..."
gem install bundler
echo "๐น Updating Bundler in project..."
bundle update --bundler
echo "๐น Installing gems..."
bundle install
echo "๐น Committing changes..."
git add Gemfile.lock
git commit -m "Update Bundler and fix dependencies" || echo "No changes to commit"
git push
echo "โ All done! Now trigger Netlify redeploy."