Diferencia entre revisiones de «Iniciando un repositorio desde cero»
De Wiki de EGC
(Página creada con «<source lang="bash"> % git init </source> <source lang="bash"> % git status # On branch master # # Initial commit # # Untracked files: # (use "git add <file>..." to in...») |
|||
Línea 14: | Línea 14: | ||
# README | # README | ||
nothing added to commit but untracked files present (use "git add" to track) | nothing added to commit but untracked files present (use "git add" to track) | ||
+ | </source> | ||
+ | |||
+ | <source lang="bash"> | ||
% git add README | % git add README | ||
− | % git status | + | % git status |
# On branch master | # On branch master | ||
# Initial commit | # Initial commit |
Revisión del 21:28 29 oct 2014
% git init
% git status
# On branch master
#
# Initial commit
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# README
nothing added to commit but untracked files present (use "git add" to track)
% git add README
% git status
# On branch master
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: README
#