Skip to content

Instantly share code, notes, and snippets.

@artes-visuales
Last active August 29, 2015 14:20
Show Gist options
  • Save artes-visuales/65da08acb5217e506b75 to your computer and use it in GitHub Desktop.
Save artes-visuales/65da08acb5217e506b75 to your computer and use it in GitHub Desktop.
Git
git init
git config --global alias.nombre-alias ‘cambiar-contenido’
git branch --merged
git branch --no-merged
git branch -d [nombre]
git branch [nombre]
git checkout -- <file>
git checkout -b [nombre]
git checkout [nombre]
git clone [https or SSH]
git commit -am ""
git commit -m ""
git config --global --list
git config --global user.email [mail]
git config --global user.name [NOMBRE]
git fetch origin
git log --oneline --graph --all
git log > commits.txt
git merge origin [nombre]
git pull origin master
git push origin master
git remote add origin
git rm -r -f --cached carpeta/
*.log
.htaccess
sitemap.xml
sitemap.xml.gz
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/upgrade/
wp-content/uploads/
wp-content/wp-cache-config.php
cat id_rsa.pub
touch .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment