Clonar um Reposit贸rio
$ git clone 'nome-do-reposit贸rio'
Verificar status
$ git status
| " Arquivo de configura莽茫o do vim"{{{ | |
| " Criado: Qua 02/Ago/2006 hs 09:19 | |
| " Last Change: 23-01-2009 08:32:53 | |
| " Autor: Sergio Luiz Araujo Silva | |
| " Codifica莽茫o: utf-8 | |
| " Download: http://dotfiles.org/~voyeg3r/.vimrc | |
| " Licence: Licen莽a: Este arquivo 茅 de dom铆nio p煤blico | |
| " Garantia: O autor n茫o se responsabiliza por eventuais danos | |
| " causados pelo uso deste arquivo. | |
| // My Git worflow, when patching external projects | |
| // Copyright (C) 2011 Olivier Mengu茅. All rights reserved. | |
| // dot -Tpng -o git-patching-workflow.png git-patching-workflow.dot | |
| digraph { | |
| find_repo [ label="Find an interesting project on GitHub (or another Git repository)"]; | |
| use [ label="Use, test..." ]; | |
| bug_idea [ label="Find a bug or idea for a feature" ]; |
| <?php | |
| if(!isset($argv[1])){ | |
| echo "Usage: ".$argv[0]." (number of iterations)\n"; | |
| exit(1); | |
| } | |
| /** | |
| * Arrays to check | |
| */ | |
| $tests = array( |
| function! ToggleGStatus() | |
| if buflisted(bufname('.git/index')) | |
| bd .git/index | |
| else | |
| Gstatus | |
| endif | |
| endfunction | |
| command ToggleGStatus :call ToggleGStatus() | |
| nmap <F3> :ToggleGStatus<CR> |
People
:bowtie: |
馃槃 :smile: |
馃槅 :laughing: |
|---|---|---|
馃槉 :blush: |
馃槂 :smiley: |
:relaxed: |
馃槒 :smirk: |
馃槏 :heart_eyes: |
馃槝 :kissing_heart: |
馃槡 :kissing_closed_eyes: |
馃槼 :flushed: |
馃槍 :relieved: |
馃槅 :satisfied: |
馃榿 :grin: |
馃槈 :wink: |
馃槣 :stuck_out_tongue_winking_eye: |
馃槤 :stuck_out_tongue_closed_eyes: |
馃榾 :grinning: |
馃槜 :kissing: |
馃槞 :kissing_smiling_eyes: |
馃槢 :stuck_out_tongue: |
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)These rules are adopted from the AngularJS commit conventions.