0% found this document useful (0 votes)
25 views3 pages

Git

The user cloned the HelloWorld_ISS repository from GitHub to their local machine. They added and committed some untracked files to the repository, then pushed the commit to GitHub, syncing their local changes to the remote repository.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views3 pages

Git

The user cloned the HelloWorld_ISS repository from GitHub to their local machine. They added and committed some untracked files to the repository, then pushed the commit to GitHub, syncing their local changes to the remote repository.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos

$ git clone
fatal: You must specify a repository to clone.

usage: git clone [<options>] [--] <repo> [<dir>]

-v, --verbose be more verbose


-q, --quiet be more quiet
--progress force progress reporting
--reject-shallow don't clone shallow repository
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recurse-submodules[=<pathspec>]
initialize submodules in the clone
--recursive ... alias of --recurse-submodules
-j, --jobs <n> number of submodules cloned in parallel
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
--reference-if-able <repo>
reference repository
--dissociate use --reference only while cloning
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--shallow-since <time>
create a shallow clone since a specific time
--shallow-exclude <revision>
deepen history of shallow clone, excluding rev
--single-branch clone only one branch, HEAD or --branch
--no-tags don't clone any tags, and make later fetches not to
follow them
--shallow-submodules any cloned submodules will be shallow
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
--server-option <server-specific>
option to transmit
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
--filter <args> object filtering
--also-filter-submodules
apply partial clone filters to submodules
--remote-submodules any cloned submodules will use their remote-tracking
branch
--sparse initialize sparse-checkout file to include only files at
root
--bundle-uri <uri> a URI for downloading bundles before fetching from origin
remote
MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos
$ git clone https://github.com/stan23rzc/HelloWorld_ISS.git
Cloning into 'HelloWorld_ISS'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (3/3), done.

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos


$ git status
fatal: not a git repository (or any of the parent directories): .git

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos


$ cd HelloWorld_ISS/

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos/HelloWorld_ISS (main)


$ git status
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
(use "git add <file>..." to include in what will be committed)
nose/

nothing added to commit but untracked files present (use "git add" to track)

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos/HelloWorld_ISS (main)


$ git add.
git: 'add.' is not a git command. See 'git --help'.

The most similar command is


add
g
MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos/HelloWorld_ISS (main)
$ git add .

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos/HelloWorld_ISS (main)


$ git status
On branch main
Your branch is up to date with 'origin/main'.

Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: nose/archivo jsjsj
new file: nose/archivo.html

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos/HelloWorld_ISS (main)


$ git commit -m "My firts commit"
[main 9c00513] My firts commit
2 files changed, 185 insertions(+)
create mode 100644 nose/archivo jsjsj
create mode 100644 nose/archivo.html

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos/HelloWorld_ISS (main)


$ git status
On branch main
Your branch is ahead of 'origin/main' by 1 commit.
(use "git push" to publish your local commits)

nothing to commit, working tree clean

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos/HelloWorld_ISS (main)


$ git push
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 4 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 2.81 KiB | 1.40 MiB/s, done.
Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/stan23rzc/HelloWorld_ISS.git
7690dfe..9c00513 main -> main

MINEDUCYT@pc-stanlee MINGW64 ~/Documents/otros proyectos/HelloWorld_ISS (main)


$

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy