<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>GitHub on Arek's Blog</title><link>https://blog.kalandyk.xyz/tags/github/</link><description>Recent content in GitHub on Arek's Blog</description><generator>Hugo -- 0.147.8</generator><language>en-us</language><lastBuildDate>Sun, 01 Nov 2020 19:32:48 +0100</lastBuildDate><atom:link href="https://blog.kalandyk.xyz/tags/github/index.xml" rel="self" type="application/rss+xml"/><item><title>Mirror GitLab to GitHub</title><link>https://blog.kalandyk.xyz/posts/mirror-gitlab-to-github/</link><pubDate>Sun, 01 Nov 2020 19:32:48 +0100</pubDate><guid>https://blog.kalandyk.xyz/posts/mirror-gitlab-to-github/</guid><description>&lt;p>There are 2 kinds of mirroring in GitLab: pull (mirroring from another repo) and push (mirroring to another repo). Today I tried the second one!&lt;/p>
&lt;p>For mirroring you need an already created repository on GitLab of course. Then it&amp;rsquo;s needed to create another one on GitHub.&lt;/p>
&lt;p>When you have opened GitHub, you should also create PAT (Personal Access Token) by going into: &lt;strong>Settings -&amp;gt; Developer settings -&amp;gt; Personal access token -&amp;gt; Generate new token&lt;/strong>. Type into &lt;em>Note&lt;/em> some text (e.g. gitlab_repository_name) and select &lt;code>public_repo&lt;/code> (under &lt;code>repo&lt;/code>), then click Generate token and copy or leave open tab with shown token for later copy+paste (if you close tab, you won&amp;rsquo;t see the token again).&lt;/p></description></item></channel></rss>