<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://wiki.cifprodolfoucha.es/index.php?action=history&amp;feed=atom&amp;title=Archivo%3AMost-used-git-commands.gif</id>
	<title>Archivo:Most-used-git-commands.gif - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cifprodolfoucha.es/index.php?action=history&amp;feed=atom&amp;title=Archivo%3AMost-used-git-commands.gif"/>
	<link rel="alternate" type="text/html" href="https://wiki.cifprodolfoucha.es/index.php?title=Archivo:Most-used-git-commands.gif&amp;action=history"/>
	<updated>2026-10-17T06:16:43Z</updated>
	<subtitle>Historial de revisiones de esta página en el wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.cifprodolfoucha.es/index.php?title=Archivo:Most-used-git-commands.gif&amp;diff=23337&amp;oldid=prev</id>
		<title>Joselv: Fonte:
https://www.linkedin.com/feed/update/urn:li:activity:7290226152827146241/

12 𝐦𝐨𝐬𝐭 𝐜𝐨𝐦𝐦𝐨𝐧 𝐆𝐢𝐭 𝐜𝐨𝐦𝐦𝐚𝐧𝐝𝐬

1. git init

Purpose: Initializes a new Git repository in your current directory.
Usage: Run git init to start tracking your project with Git

2. git clone
Purpose: Creates a copy of an existing repository on your local machine.
Usage: Run git clone &lt;repository_url&gt; to download a repository.

3. git add
Purpose: Stages changes in your working directory for the next commit.
Usage: Use g…</title>
		<link rel="alternate" type="text/html" href="https://wiki.cifprodolfoucha.es/index.php?title=Archivo:Most-used-git-commands.gif&amp;diff=23337&amp;oldid=prev"/>
		<updated>2025-02-14T20:41:24Z</updated>

		<summary type="html">&lt;p&gt;Fonte: https://www.linkedin.com/feed/update/urn:li:activity:7290226152827146241/  12 𝐦𝐨𝐬𝐭 𝐜𝐨𝐦𝐦𝐨𝐧 𝐆𝐢𝐭 𝐜𝐨𝐦𝐦𝐚𝐧𝐝𝐬  1. git init  Purpose: Initializes a new Git repository in your current directory. Usage: Run git init to start tracking your project with Git  2. git clone Purpose: Creates a copy of an existing repository on your local machine. Usage: Run git clone &amp;lt;repository_url&amp;gt; to download a repository.  3. git add Purpose: Stages changes in your working directory for the next commit. Usage: Use g…&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Resumen ==&lt;br /&gt;
Fonte:&lt;br /&gt;
https://www.linkedin.com/feed/update/urn:li:activity:7290226152827146241/&lt;br /&gt;
&lt;br /&gt;
12 𝐦𝐨𝐬𝐭 𝐜𝐨𝐦𝐦𝐨𝐧 𝐆𝐢𝐭 𝐜𝐨𝐦𝐦𝐚𝐧𝐝𝐬&lt;br /&gt;
&lt;br /&gt;
1. git init&lt;br /&gt;
&lt;br /&gt;
Purpose: Initializes a new Git repository in your current directory.&lt;br /&gt;
Usage: Run git init to start tracking your project with Git&lt;br /&gt;
&lt;br /&gt;
2. git clone&lt;br /&gt;
Purpose: Creates a copy of an existing repository on your local machine.&lt;br /&gt;
Usage: Run git clone &amp;lt;repository_url&amp;gt; to download a repository.&lt;br /&gt;
&lt;br /&gt;
3. git add&lt;br /&gt;
Purpose: Stages changes in your working directory for the next commit.&lt;br /&gt;
Usage: Use git add &amp;lt;file&amp;gt; or git add . to add all changes.&lt;br /&gt;
&lt;br /&gt;
4. git commit&lt;br /&gt;
Purpose: Commits staged changes to the repository with a descriptive message.&lt;br /&gt;
Usage: Run git commit -m &amp;quot;Your message&amp;quot; to save your changes.&lt;br /&gt;
&lt;br /&gt;
5. git status&lt;br /&gt;
Purpose: Shows the status of changes in your working directory.&lt;br /&gt;
Usage: git status lets you see which files are modified, staged, or untracked.&lt;br /&gt;
&lt;br /&gt;
6. git push&lt;br /&gt;
Purpose: Pushes your commits to a remote repository, like GitHub.&lt;br /&gt;
Usage: Use git push origin &amp;lt;branch_name&amp;gt; to upload changes.&lt;br /&gt;
&lt;br /&gt;
7. git pull&lt;br /&gt;
Purpose: Fetches and merges updates from a remote repository.&lt;br /&gt;
Usage: Run git pull origin &amp;lt;branch_name&amp;gt; to sync your local branch.&lt;br /&gt;
&lt;br /&gt;
8. git branch&lt;br /&gt;
Purpose: Manages branches within your repository.&lt;br /&gt;
Usage: Use git branch to list branches or git branch &amp;lt;branch_name&amp;gt; to create a new one.&lt;br /&gt;
&lt;br /&gt;
9. git checkout&lt;br /&gt;
Purpose: Switches to a different branch or restores files.&lt;br /&gt;
Usage: Run git checkout &amp;lt;branch_name&amp;gt; to switch branches or git checkout &amp;lt;file&amp;gt; to revert a file.&lt;br /&gt;
&lt;br /&gt;
10. git merge&lt;br /&gt;
Purpose: Merges one branch into another.&lt;br /&gt;
Usage: Use git merge &amp;lt;branch_name&amp;gt; to integrate changes from one branch into the current branch.&lt;br /&gt;
&lt;br /&gt;
11. git log&lt;br /&gt;
Purpose: Displays the commit history.&lt;br /&gt;
Usage: Run git log to see a list of past commits, along with their messages and details.&lt;br /&gt;
&lt;br /&gt;
12. git diff&lt;br /&gt;
Purpose: Shows the differences between commits, branches, or your working directory and the last commit.&lt;br /&gt;
Usage: Use git diff to compare changes and git diff &amp;lt;commit1&amp;gt; &amp;lt;commit2&amp;gt; to see differences between two commits.&lt;br /&gt;
&lt;br /&gt;
Here’s an extended list of useful Git commands beyond the common ones :&lt;br /&gt;
&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐟𝐞𝐭𝐜𝐡: Retrieve updates from a remote repository without merging.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐫𝐞𝐛𝐚𝐬𝐞: Apply commits on top of another base commit.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐫𝐞𝐬𝐞𝐭: Undo changes in the working directory or commit history.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐬𝐭𝐚𝐬𝐡: Temporarily save changes for later use.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐭𝐚𝐠: Mark specific points in history with a tag.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐫𝐞𝐦𝐨𝐭𝐞e: Manage remote repository connections.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐬𝐡𝐨𝐰: Show detailed information about a commit.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐫𝐞𝐯𝐞𝐫𝐭: Create a new commit that undoes a previous commit.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐛𝐥𝐚𝐦𝐞: Show who modified each line in a file.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐜𝐡𝐞𝐫𝐫𝐲-𝐩𝐢𝐜𝐤: Apply specific commits from another branch.&lt;br /&gt;
 🚀𝐠𝐢𝐭 𝐫𝐦: Remove files from the working directory and staging area.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Credit - Ashish Sahu&lt;/div&gt;</summary>
		<author><name>Joselv</name></author>
		
	</entry>
</feed>