第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

如何使用 Coab 刪除 GitHub 上的文件夾?

如何使用 Coab 刪除 GitHub 上的文件夾?

搖曳的薔薇 2022-06-14 17:56:40
我克隆了我的倉(cāng)庫(kù),其中有一些文件夾和文件:!git clone https://{username}:{password}@github.com/{username}/{project}.git然后我更改當(dāng)前目錄:%cd {project}刪除文件夾:!rm -rf "/content/{project}/sample_data"檢查狀態(tài):!git statusOn branch masterYour branch is up to date with 'origin/master'.Changes not staged for commit:  (use "git add/rm <file>..." to update what will be committed)  (use "git checkout -- <file>..." to discard changes in working directory)    deleted:    sample_data/README.md    deleted:    sample_data/anscombe.json    deleted:    sample_data/california_housing_test.csv    deleted:    sample_data/california_housing_train.csv    deleted:    sample_data/mnist_test.csv    deleted:    sample_data/mnist_train_small.csvno changes added to commit (use "git add" and/or "git commit -a")做承諾:!git commit -m "Removed all"On branch masterYour branch is up to date with 'origin/master'.Changes not staged for commit:    deleted:    sample_data/README.md    deleted:    sample_data/anscombe.json    deleted:    sample_data/california_housing_test.csv    deleted:    sample_data/california_housing_train.csv    deleted:    sample_data/mnist_test.csv    deleted:    sample_data/mnist_train_small.csvno changes added to commit并推動(dòng):!git push origin master之后,我的文件夾sample_data仍在我的倉(cāng)庫(kù)中。我究竟做錯(cuò)了什么?
查看完整描述

2 回答

?
有只小跳蛙

TA貢獻(xiàn)1824條經(jīng)驗(yàn) 獲得超8個(gè)贊

在提交之前,您需要暫存更改:

git add --all

暫存所有更改

然后git commit -m "Your message"再次運(yùn)行。

正如你在運(yùn)行后看到的那樣git commit -m "Message"

未添加任何更改以提交

Git 告訴您提交中沒(méi)有添加任何內(nèi)容。


查看完整回答
反對(duì) 回復(fù) 2022-06-14
?
慕勒3428872

TA貢獻(xiàn)1848條經(jīng)驗(yàn) 獲得超6個(gè)贊

確保您在默認(rèn)分支中:

git結(jié)賬大師

. rm -r 命令將遞歸刪除您的文件夾:

git rm -r 文件夾名稱(chēng)

. 提交更改:...將更改推送到您的遠(yuǎn)程存儲(chǔ)庫(kù)


查看完整回答
反對(duì) 回復(fù) 2022-06-14
  • 2 回答
  • 0 關(guān)注
  • 149 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)