<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Git | Psyops Prime</title>
	<atom:link href="https://psyopsprime.com/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>https://psyopsprime.com</link>
	<description>An Idea Log</description>
	<lastBuildDate>Mon, 26 Sep 2016 05:50:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<site xmlns="com-wordpress:feed-additions:1">99640787</site>	<item>
		<title>Working Around With GIT</title>
		<link>https://psyopsprime.com/reviews/working-around-with-git/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=working-around-with-git</link>
					<comments>https://psyopsprime.com/reviews/working-around-with-git/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 07 Nov 2015 18:27:02 +0000</pubDate>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Git]]></category>
		<guid isPermaLink="false">http://psyopsprime.xyz/?p=1107</guid>

					<description><![CDATA[<p>Working away with GIT can be tedious especially for a newbie. Following GIT commands will help you accomplish many things with GIT. I took the</p>
The post <a href="https://psyopsprime.com/reviews/working-around-with-git/">Working Around With GIT</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Working away with GIT can be tedious especially for a newbie. Following GIT commands will help you accomplish many things with GIT. I took the commands from the GIT website. But sometimes it may not be quite straightforward to find these combinations of commands.</p>
<p style="text-align: justify;"><strong>Creating a new repository on the command line locally and pushing the changes to it and the remote repository.</strong></p>
<pre class="copyable-terminal-content js-zeroclipboard-target"><span class="user-select-contain">echo "# Echo-Oracle" &gt;&gt; README.md</span>
<span class="user-select-contain">git init</span>
<span class="user-select-contain">git add README.md</span>
<span class="user-select-contain">git commit -m "first commit"</span>
<span class="user-select-contain">git remote add origin <span class="js-live-clone-url">https://github.com/adilraja/Echo-Oracle.git</span></span>
<span class="user-select-contain">git push -u origin master</span>
</pre>
<p style="text-align: justify;"><strong>Pushing an existing local repository to a remote repository from the command line.</strong></p>
<pre class="copyable-terminal-content js-zeroclipboard-target"><span class="user-select-contain">git remote add origin <span class="js-live-clone-url">https://github.com/adilraja/Echo-Oracle.git</span></span>
<span class="user-select-contain">git push -u origin master</span></pre>
<p style="text-align: justify;"><strong>Import code from another repository</strong></p>
<p style="text-align: justify;"><strong>Undoing changes on the remote repository</strong></p>
<p style="text-align: justify;">If by chance you have made unintended changes to your remote repository, by adding a new commit to it, you can undo the changes using the following commands.</p>
<pre>

<div class="codecolorer-container text default language-text" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">git reset 7f6d03 --hard<br />
&nbsp;git push origin -f</div></div>

</pre>
<p style="text-align: justify;">Replace the number above in your reset command with the SHA of the commit that you want to revert to on the remote repository.</p>
<p style="text-align: justify;">I found the following commands on GitLab. You might find these useful too.</p>
<h3 class="page-title-empty">Command line instructions</h3>
<fieldset>
<h5>Git global setup</h5>
<pre class="light-well">git config --global user.name "Adil Raja"
git config --global user.email "adilraja@gmail.com"
</pre>
</fieldset>
<fieldset>
<h5>Create a new repository</h5>
<pre class="light-well">git clone <span class="clone">https://gitlab.com/adilraja/evolutionary-nursery.git</span>
cd evolutionary-nursery
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
</pre>
</fieldset>
<fieldset>
<h5>Existing folder or Git repository</h5>
<pre class="light-well">cd existing_folder
git init
git remote add origin <span class="clone">https://gitlab.com/adilraja/evolutionary-nursery.git</span>
git add .
git commit
git push -u origin master</pre>
</fieldset>
<p>Here is a great tutorial on git.</p>
<p><a class="embedly-card" href="https://try.github.io/levels/1/challenges/1">Try Git</a><br />
<script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>&nbsp;</p>
<p><small><a style="text-decoration: none;" title="Image inserted by the ImageInject WordPress plugin" href="http://wpinject.com/" rel="nofollow">Photo</a> by <a href="http://www.flickr.com/photos/16784359@N07/5808335842" target="_blank">spencer77</a> <a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank" rel="nofollow"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/psyopsprime.com/wp-content/plugins/wp-inject/images/cc.png?w=750" alt="" /></a></small></p>The post <a href="https://psyopsprime.com/reviews/working-around-with-git/">Working Around With GIT</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></content:encoded>
					
					<wfw:commentRss>https://psyopsprime.com/reviews/working-around-with-git/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
				<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<post-id xmlns="com-wordpress:feed-additions:1">1107</post-id>	</item>
		<item>
		<title>Version Control Systems</title>
		<link>https://psyopsprime.com/reviews/version-control-systems/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=version-control-systems</link>
					<comments>https://psyopsprime.com/reviews/version-control-systems/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 28 Oct 2015 13:03:51 +0000</pubDate>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Bazaar]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Version control systems]]></category>
		<guid isPermaLink="false">http://psyopsprime.xyz/?p=1039</guid>

					<description><![CDATA[<p>A version control system keeps track of various versions of the software you develop. It provides you the ability to back-up your software on a</p>
The post <a href="https://psyopsprime.com/reviews/version-control-systems/">Version Control Systems</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">A version control system keeps track of various versions of the software you develop. It provides you the ability to back-up your software on a software hosting service. It also allows other to create copies (forks) of your software for their personal use. Copied (forked) projects can be cloned on your local machines. And then committed and pushed back to the hosting facility. This might seem complicated, but it is quite easy. Taking it too easy can, however, complicate matters a little bit. So it could be worth trying to learn how a version control system works.</p>
<p style="text-align: justify;">Popular version control systems are Git, bazaar and subversion. It beyond the scope of this article to reflect on each one of them. The following article should help you somehow in finding out the right version control system for yourself.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://www.smashingmagazine.com/2008/09/the-top-7-open-source-version-control-systems/">6 Version Control Systems Reviewed &#8211; Smashing Magazine</a></h4>
<p>If you&#8217;ve ever collaborated with other people on a project, you know the frustration of constantly swapping files. Some do it by email, some through file upload services and some by other methods. It&#8217;s a pain in the neck, and every designer and developer knows it.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>The following link will take you to a website where you can play with, and learn about, Git, which is possibly the most popular version control system. Actually, it would be much nicer if each one of you try it and make an account with code school to keep track of your progress. You may as well earn a badge for your work.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://try.github.io/levels/1/challenges/1">Set up Git &#8211; GitHub Docs</a></h4>
<p>At the heart of GitHub is an open-source version control system (VCS) called Git. Git is responsible for everything GitHub-related that happens locally on your computer.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p><small><a style="text-decoration: none;" title="Image inserted by the ImageInject WordPress plugin" href="http://wpinject.com/" rel="nofollow">Photo</a> by <a href="http://www.flickr.com/photos/60256070@N05/5532233319" target="_blank">smerikal</a> <a title="Attribution-ShareAlike License" href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank" rel="nofollow"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/psyopsprime.com/wp-content/plugins/wp-inject/images/cc.png?w=750" alt="" /></a></small></p>The post <a href="https://psyopsprime.com/reviews/version-control-systems/">Version Control Systems</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></content:encoded>
					
					<wfw:commentRss>https://psyopsprime.com/reviews/version-control-systems/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
				<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<post-id xmlns="com-wordpress:feed-additions:1">1039</post-id>	</item>
	</channel>
</rss>
