Subido por hj.99.fk

ejercicio git hub

Anuncio
PS C:\Users\Alejandro> git init
Initialized empty Git repository in C:/Users/Alejandro/.git/
PS C:\Users\Alejandro> git clone https://github.com/jmatid00/Proyecto-CMS.git
Cloning into 'Proyecto-CMS'...
Fatal: AggregateException encountered.
Username for 'https://github.com': Neoexplorer
Password for 'https://Neoexplorer@github.com':
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 15 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (15/15), done.
Checking connectivity... done.
PS C:\Users\Alejandro> git clone https://github.com/jmatid00/Proyecto-CMS.git
fatal: destination path 'Proyecto-CMS' already exists and is not an empty directory.
PS C:\Users\Alejandro> ls
Directorio: C:\Users\Alejandro
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 17/03/2019 17:47 .config
d----- 22/02/2018 22:07 .datathief
d----- 16/07/2019 18:13 .docker
d----- 24/05/2019 19:04 .dotnet
d----- 16/07/2019 21:38 .eclipse
d----- 22/03/2019 20:01 .idlerc
d----- 16/04/2019 12:34 .jmc
d----- 16/07/2019 19:38 .m2
d----- 21/07/2019 11:50 .p2
d----- 16/07/2019 20:22 .sts4
d----- 09/03/2019 21:00 .templateengine
d----- 16/04/2019 13:25 .tooling
d----- 25/07/2019 18:13 .VirtualBox
d----- 11/03/2019 9:19 .vscode
d-r--- 10/07/2019 21:17 3D Objects
d----- 10/04/2015 20:16 abBox
d----- 12/04/2019 17:28 Canopy
d-r--- 10/07/2019 21:17 Contacts
d-r--- 22/07/2019 11:46 Desktop
d-r--- 25/07/2019 12:45 Documents
d-r--- 17/07/2019 19:19 Downloads
d-r--- 05/07/2019 8:24 Dropbox
d----- 16/07/2019 21:30 eclipse
d----- 16/07/2019 21:46 eclipse-workspace
d----- 12/04/2019 17:25 Enthought
d-r--- 10/07/2019 21:17 Favorites
d----- 23/07/2019 13:22 HCL
d----- 23/07/2019 22:58 HCL VMs
d-r--- 10/07/2019 21:17 Links
d----- 27/02/2019 14:47 maxima
d-r--- 10/07/2019 21:17 Music
dar--- 12/07/2019 7:09 OneDrive
d----- 10/04/2015 20:12 PicStream
d-r--- 10/07/2019 21:17 Pictures
d----- 26/07/2019 13:05 Proyecto-CMS
d-r--- 10/07/2019 21:17 Saved Games
d-r--- 10/07/2019 21:17 Searches
d----- 08/03/2019 18:47 source
d----- 25/08/2015 10:56 TomTom
d----- 25/08/2015 10:56 TomTom MySports
d-r--- 10/07/2019 21:17 Videos
d----- 05/09/2017 15:43 VirtualBox VMs
d----- 14/04/2019 22:28 workspace
-a---- 21/07/2019 20:45 643 .bash_history
-a---- 12/04/2019 17:25 188 .canopy_runtimes.json
-a---- 12/03/2019 22:50 1038 .csslintrc
-a---- 20/07/2019 16:44 1166 .drjava
-a---- 23/11/2018 19:56 367 .languagetool-ooo.cfg
-a---- 26/02/2019 9:32 83 .LanguageTool.log
-a---- 14/04/2019 20:00 36 .org.eclipse.epp.usagedata.recording.userId
-a---- 27/02/2019 15:00 616 .xmaximarc
-a---- 12/03/2019 22:50 2868 coffeelint.json
PS C:\Users\Alejandro> cd Proyecto-CMS
PS C:\Users\Alejandro\Proyecto-CMS> ls
Directorio: C:\Users\Alejandro\Proyecto-CMS
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 26/07/2019 13:05 7 fichero.txt
PS C:\Users\Alejandro\Proyecto-CMS> git config --global user.name "Neoexplorer"
PS C:\Users\Alejandro\Proyecto-CMS> git config --global user.email "calamitoso00@gmail.com"
PS C:\Users\Alejandro\Proyecto-CMS> git commit -m "cambio"
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
PS C:\Users\Alejandro\Proyecto-CMS> more fichero.txt
Inicial
PS C:\Users\Alejandro\Proyecto-CMS> git branch
* master
PS C:\Users\Alejandro\Proyecto-CMS> git checkout -b Alejandro_Riol
Switched to a new branch 'Alejandro_Riol'
PS C:\Users\Alejandro\Proyecto-CMS> git branch
* Alejandro_Riol
master
PS C:\Users\Alejandro\Proyecto-CMS> git status
On branch Alejandro_Riol
Untracked files:
(use "git add <file>..." to include in what will be committed)
Alejandro_Riol.txt.txt
nothing added to commit but untracked files present (use "git add" to track)
PS C:\Users\Alejandro\Proyecto-CMS> git add Alejandro_Riol.txt
fatal: pathspec 'Alejandro_Riol.txt' did not match any files
PS C:\Users\Alejandro\Proyecto-CMS> git add Alejandro_Riol.txt.txt
PS C:\Users\Alejandro\Proyecto-CMS> git commit -m "Mi fichero personal"
[Alejandro_Riol b3b93d3] Mi fichero personal
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 Alejandro_Riol.txt.txt
PS C:\Users\Alejandro\Proyecto-CMS> git log
commit b3b93d374bd687e645837e40b2b1f22acb35edfd
Author: Neoexplorer <calamitoso00@gmail.com>
Date: Fri Jul 26 13:16:21 2019 +0200
Mi fichero personal
commit 790ee89ab9c34b71d12d650a3f71295ca9ef7021
Author: jmatid00 <jmatid00@estudiantes.unileon.es>
Date: Fri Jul 26 12:53:12 2019 +0200
Initial Commit
PS C:\Users\Alejandro\Proyecto-CMS> git push origin Alejandro-Riol
error: src refspec Alejandro-Riol does not match any.
error: failed to push some refs to 'https://github.com/jmatid00/Proyecto-CMS.git'
PS C:\Users\Alejandro\Proyecto-CMS> git push origin Alejandro_Riol
Fatal: HttpRequestException encountered.
Username for 'https://github.com': Neoexplorer
Password for 'https://Neoexplorer@github.com':
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 294 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote:
remote: Create a pull request for 'Alejandro_Riol' on GitHub by visiting:
remote: https://github.com/jmatid00/Proyecto-CMS/pull/new/Alejandro_Riol
remote:
To https://github.com/jmatid00/Proyecto-CMS.git
* [new branch] Alejandro_Riol -> Alejandro_Riol
PS C:\Users\Alejandro\Proyecto-CMS>
Descargar