Commit 696265a6809a987d145cc455ab8373e53c8d6b7c
0 parents
Exists in
master
and in
19 other branches
Adicionando Readme padrão
Showing
1 changed file
with
24 additions
and
0 deletions
Show diff stats
| 1 | +++ a/README.md | ||
| @@ -0,0 +1,24 @@ | @@ -0,0 +1,24 @@ | ||
| 1 | +# Command line instructions | ||
| 2 | + | ||
| 3 | +Git global setup | ||
| 4 | + | ||
| 5 | + git config --global user.name "seu nome" | ||
| 6 | + git config --global user.email "seu email" | ||
| 7 | + | ||
| 8 | +Create a new repository | ||
| 9 | + | ||
| 10 | + git clone http://git.planejamento.gov.br/<nome_do_grupo>/<nome_repositorio> | ||
| 11 | + cd <nome_repositorio> | ||
| 12 | + touch README.md | ||
| 13 | + git add README.md | ||
| 14 | + git commit -m "add README" | ||
| 15 | + git push -u origin <nome_da_branch> | ||
| 16 | + | ||
| 17 | +Existing folder or Git repository | ||
| 18 | + | ||
| 19 | + cd existing_folder | ||
| 20 | + git init | ||
| 21 | + git remote add origin http://git.planejamento.gov.br/<nome_do_grupo>/<nome_repositorio> | ||
| 22 | + git add . | ||
| 23 | + git commit | ||
| 24 | + git push -u origin <nome_da_branch> | ||
| 0 | \ No newline at end of file | 25 | \ No newline at end of file |