“Comment installer Hub” Réponses codées

Comment installer Hub

$ cd hub
$ git checkout -b topic
Switched to a new branch 'topic'
$ echo “Hey” >test2.txt
$ git add .
$ git commit -m ‘Adding test 2’
[master cbb6fde5805a] Adding test 2
 1 file changed, 1 insertion(+)
 create mode 100644 test2.txt
Cute Caribou

Comment installer Hub

$ brew install hub
Cute Caribou

Comment installer Hub

$ cd Documents
$ mkdir Test; cd Test/
$ git init
Initialized empty Git repository in /Users/SudeshnaSur/Test/.git/
Cute Caribou

Comment installer Hub

git config --global user.email "[email protected]"
git config --global user.name "Your Name"
Cute Caribou

Comment installer Hub

$ hub create
Updating origin
https://github.com/SudeshnaSur/Test
Cute Caribou

Comment installer Hub

$ hub clone github/hub
Cloning into 'hub'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 19712 (delta 7), reused 13 (delta 4), pack-reused 19686
Receiving objects: 100% (19712/19712), 6.76 MiB | 7.25 MiB/s, done.
Resolving deltas: 100% (12912/12912), done.
Cute Caribou

Comment installer Hub

$ hub fork –remote-name origin
Cute Caribou

Comment installer Hub

$ hub --version
git version 2.25.0
hub version 2.14.1
Cute Caribou

Comment installer Hub

$ git status
On branch master

No commits yet

Untracked files:
        test.txt

nothing added to commit but untracked files present
$ git add .
Cute Caribou

Réponses similaires à “Comment installer Hub”

Questions similaires à “Comment installer Hub”

Plus de réponses similaires à “Comment installer Hub” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code