git上傳檔案

2021-09-10 04:52:20 字數 4375 閱讀 1752

allen@worker-005:~/git/device-control-board/02-source$ ll

total 5280

drwxrwxr-x 2 allen allen 4096 jan 24 17:30 ./

drwxrwxr-x 5 allen allen 4096 jan 24 14:49 ../

-rwxrwxrwx 1 allen allen 595698 jan 24 14:52 barrier-gate-board_v1.0.rar*

-rwxrwxrwx 1 allen allen 1421896 jan 24 17:12 barrier-gate-board_v3.0.pdf*

-rwxrwxrwx 1 allen allen 3085079 jul 4 2018 barrier-gate-board_v3.0.rar*

-rw-rw-r-- 1 allen allen 13 jan 24 14:49 readme.md

-rwxrwxrwx 1 allen allen 274432 jan 24 17:01 一種應用於多種場景的安防控制器【技術交底書】.doc*

allen@worker-005:~/git/device-control-board/02-source$ git add barrier-gate-board_v1.0.rar

allen@worker-005:~/git/device-control-board/02-source$ git commit -m "語音晶元為xfs5152ce"

on branch dev

your branch is up-to-date with 'origin/dev'.

nothing to commit, working directory clean

allen@worker-005:~/git/device-control-board/02-source$ git branch

* dev

master

allen@worker-005:~/git/device-control-board/02-source$ git pull --rebase

current branch dev is up to date.

allen@worker-005:~/git/device-control-board/02-source$ git b

bisect blame branch bundle

allen@worker-005:~/git/device-control-board/02-source$ git branch

* dev

master

allen@worker-005:~/git/device-control-board/02-source$ git add barrier-gate-board_v1.0.rar

allen@worker-005:~/git/device-control-board/02-source$ git commit -m "語音晶元為xfs5152ce"

on branch dev

your branch is up-to-date with 'origin/dev'.

nothing to commit, working directory clean

allen@worker-005:~/git/device-control-board/02-source$ git branch

* dev

master

allen@worker-005:~/git/device-control-board/02-source$ git add barrier-gate-board_v3.0.rar

allen@worker-005:~/git/device-control-board/02-source$ git c

checkout cherry-pick clone config

cherry clean commit

allen@worker-005:~/git/device-control-board/02-source$ git co

commit config

allen@worker-005:~/git/device-control-board/02-source$ git add barrier-gate-board_v3.0.rar

allen@worker-005:~/git/device-control-board/02-source$ git commit -m "更改語音晶元為xfs3031cnp"

on branch dev

your branch is up-to-date with 'origin/dev'.

nothing to commit, working directory clean

allen@worker-005:~/git/device-control-board/02-source$ git push origin dev

everything up-to-date

allen@worker-005:~/git/device-control-board/02-source$ git add barrier-gate-board_v3.0.rar "

allen@worker-005:~/git/device-control-board/02-source$ git commit -m "更改語音晶元為xfs3031cnp"

[dev f1786f5] 更改語音晶元為xfs3031cnp

1 file changed, 0 insertions(+), 0 deletions(-)

rewrite 02-source/barrier-gate-board_v3.0.rar (69%)

allen@worker-005:~/git/device-control-board/02-source$ git push origin devcounting objects: 4, done.

delta compression using up to 4 threads.

compressing objects: 100% (4/4), done.

writing objects: 100% (4/4), 2.91 mib | 0 bytes/s, done.

total 4 (delta 1), reused 0 (delta 0)

remote:

remote: to create a merge request for dev, visit:

remote:

remote:

to [email protected]:hardware/device-control-board.git

de32d78..f1786f5 dev -> dev

allen@worker-005:~/git/device-control-board/02-source$ git add barrier-gate-board_v1.0.rar

allen@worker-005:~/git/device-control-board/02-source$ git commit -m "語音晶元為xfs5152ce"

[dev 8f7d10c] 語音晶元為xfs5152ce

1 file changed, 0 insertions(+), 0 deletions(-)

rewrite 02-source/barrier-gate-board_v1.0.rar (91%)

allen@worker-005:~/git/device-control-board/02-source$ git push origin dev

counting objects: 4, done.

delta compression using up to 4 threads.

compressing objects: 100% (4/4), done.

writing objects: 100% (4/4), 573.09 kib | 0 bytes/s, done.

total 4 (delta 1), reused 0 (delta 0)

remote:

remote: to create a merge request for dev, visit:

remote:

remote:

to [email protected]:hardware/device-control-board.git

f1786f5..8f7d10c dev -> dev

allen@worker-005:~/git/device-control-board/02-source$

git上傳檔案

1,先fork別人的乙個repository 2,clone到本地 git clone git clone git github.com shenchong721 icamera.git 3,進入到repository 資料夾 cd icamera 代表你的 home 使用者明目錄,假設你的使用者名...

Git上傳檔案

git是一種分布式版本控制軟體 1.繫結使用者 git config global user.name 你的github名稱 git config global user.email 你的github郵箱 1.1.設定ssh key ssh keygen t rsa c 你的github郵箱 生成後...

git上傳檔案

建立本地與遠端倉庫之間的關係 ssh keygen t rsa c qq.com 新增自己的郵箱 cat ssh id rsa.pub 去相應的位置複製key到自己的github setting ssh密碼 驗證是否成功 ssh t git github.com 將github上的 庫轉殖到本地 g...