Crear carpeta en escritorio KattyDiciembre
Abrir Atom (descargar)
Cuando está abierto arrastra la carpeta creada KattyDiciembre
Katy@LAPTOP-4S62RNHD MINGW64 ~
$ cd desktop
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop
$ cd kattydiciembre
------EN ATOM----
te situas en tu carpeta KattyDiciembre anticlick ycrear el archivo Cpbuscar.txt
-------------
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre
$ git init
Initialized empty Git repository in C:/Users/Katy/Desktop/KattyDiciembre/.git/
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$ git status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
CPbuscar
nothing added to commit but untracked files present (use "git add" to track)
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$ git add CPbuscar.txt
fatal: pathspec 'CPbuscar.txt' did not match any files
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$ git add CPbuscar.txt
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$ git commit -m "Prueba uno"
[master (root-commit) b797ff3] Prueba uno
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 CPbuscar.txt
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$ git branch
* master
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$ git branch kate
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$ git checkout kate
Switched to branch 'kate'
-----------EN ATOM
vas al ATOM te ubicas en tu archivo.txt y le pegas en la parte derecha el texto del
caso de prueba y luego File y save
------------------
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (kate)
$ GIT STATUS
fatal: cannot handle STATUS as a builtin
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (kate)
$ git status
On branch kate
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: CPbuscar.txt
no changes added to commit (use "git add" and/or "git commit -a")
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (kate)
$ git add CPbuscar.txt
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (kate)
$ git commit -m "caso de prueba buscar"
[kate 9f7ee87] caso de prueba buscar
1 file changed, 9 insertions(+)
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (kate)
$ git checkout master
Switched to branch 'master'
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$ git remote add origin https://github.com/kate1afa/Prueba1.git
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$ git push -u origin kate
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (6/6), 624 bytes | 624.00 KiB/s, done.
Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/kate1afa/Prueba1.git
* [new branch] kate -> kate
Branch 'kate' set up to track remote branch 'kate' from 'origin'.
Katy@LAPTOP-4S62RNHD MINGW64 ~/desktop/kattydiciembre (master)
$