1. 程式人生 > >GITHUB中上傳本地檔案-個人筆記

GITHUB中上傳本地檔案-個人筆記

Welcome to Git (version 1.8.3-preview20130601)


Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.

[email protected] ~ (master)
$ git init
Reinitialized existing Git repository in C:/Users/hello/.git/

[email protected] ~ (master)
$ cd  C:/Users/hello/.git/test
sh.exe": cd: C:/Users/hello/.git/test: No such file or directory

[email protected]
~ (master) $ cd c:/hellotest [email protected] /c/hellotest $ git init Initialized empty Git repository in c:/hellotest/.git/ [email protected] /c/hellotest (master) $ git add . [email protected] /c/hellotest (master) $ git commit -m 'test' *** Please tell me who you are. Run git config --global user.email "
[email protected]
" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got '[email protected](none)') [email protected] /c/hellotest (master) $ ssh -T [email protected]
The authenticity of host 'github.com (192.30.253.112)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts. Hi githubAccount! You've successfully authenticated, but GitHub does not provide shell access. [email protected] /c/hellotest (master) $ git config --global user.name "githubAccount" [email protected] /c/hellotest (master) $ git config --global user.email "[email protected]" [email protected] /c/hellotest (master) $ git commit -m 'test' [master (root-commit) e2213e6] test 1 file changed, 1 insertion(+) create mode 100644 test.txt [email protected] /c/hellotest (master) $ git remote add origin https://github.com/githubAccount/workspace .git [email protected] /c/hellotest (master) $ git push -u origin master Username for 'https://github.com': githubAccount Password for 'https://[email protected]': Counting objects: 3, done. Writing objects: 100% (3/3), 215 bytes | 0 bytes/s, done. Total 3 (delta 0), reused 0 (delta 0) To https://github.com/githubAccount/workspace.git * [new branch] master -> master Branch master set up to track remote branch master from origin. [email protected] /c/hellotest (master)


相關推薦

GITHUB中上本地檔案-個人筆記

Welcome to Git (version 1.8.3-preview20130601) Run 'git help git' to display the help index. Run 'git help <command>' to display

github入門之上本地項目——筆記

ssh pub init 關聯 spa 輸入 pan osi 之間 1. 創建一個遠程庫repository 可以看到創建代碼:   git init //把這個目錄變成Git可以管理的倉庫   git add README.md //文件添加到倉庫   git add

git命令上本地檔案GitHub

git命令上傳本地檔案到GitHub 1.下載git工具 2.繫結使用者 啟動gitBash 繫結使用者名稱和郵箱 在開啟的GIt Bash中輸入以下命令(使用者和郵箱為你github註冊的賬號和郵箱) $ git c

【小白】上本地檔案GitHub

GitHub作為開原始碼庫,本文講解一下小白如何將原生代碼託管到GitHub上。 目錄 (一)安裝Git客戶端 (二)在Github建立倉庫 (三)託管原生代碼到Github (一)安裝Git客

本地檔案Github遠端倉庫

環境:windows7 64位 前提要求:已經有了github賬號,已經安裝了Git(一路預設,很簡單) 一:建立Github repository(倉庫) 勾選 Initialize this repository with a READM

本地檔案github

通過git工具上傳本地資料夾(本地專案) 1.下載git工具 2.繫結使用者 開啟git-bash.exe 在開啟的GIt Bash中輸入以下命令(使用者和郵箱為你github註冊的賬號和郵箱) $ git config --global

如何將上本地檔案github

看過了幾個教程,總結出最適合自己的比較簡單的方法。這裡有兩種方法上傳本地檔案到github1. github在線上傳資料夾在線上傳也可以上傳完整的資料夾結構,直接拖拽到上傳檔案頁面的框中即可。1.1點選上傳檔案點選上傳1.2 直接拖拽直接拖拽即可上傳資料夾及資料夾裡面的檔案。

使用SSH 本地檔案github

參考了https://blog.csdn.net/p10010/article/details/513363321.     在你需要上傳的檔案點選右鍵2  .  <----圖片來源 https://blog.csdn.net/p10010/article/detail

GitHub本地文件

自動 ssh-key 得到 itl 沒有 global glob 令行 tin 基本條件:安裝GitHub,安裝成功之後;(windows系統) 1、安裝完成後,還需要一步設置,在命令行輸入: $ git config --global user.name "Your Na

github本地代碼

origin gin git pull 重新 git push ast 項目 tor 創建 在已經有了GitHub賬號並且下載了git.exe的前提下 1. 找到代碼所在目錄,打開git bash,cd到項目所在目錄下,輸入 git init 命令,可以看見文件中生成 .g

使用Github本地代碼

hub 上傳文件 註冊 pos 文件添加 esc learn 代碼 repos 最近在學習Python,但是每次寫完代碼後不知道該怎麽跟家裏的電腦進行同步。於是開始了學習github ,方法很簡單 1:註冊個git賬號:https://github.com 2:本地安裝gi

Git----GitHub本地文件到git

one 版本 用戶名 技術分享 文件中 .cn 推薦 info html 1、首先在git上創建一個庫,用來保存上傳的本地文件 2、通過命令 git init 把這個目錄變成git可以管理的倉庫 git init 3、將遠程git庫克隆一份保存到本地 g

IDEA中使用git從github中上克隆程式碼

一. 在 IDEA 中使用 git 從遠端倉庫中上傳程式碼 1. 在 Idea 中配置 git     安裝好 IntelliJ IDEA 後,開啟 IDEA ,  選擇 File→Settings→Version Control→Git 開啟設定視窗

如何在GitHub中上圖片-----簡單易行

第一步:首先將要你要上傳圖片放到資料夾中,注意圖片名稱中不能有括號 第二步:將圖片上傳到github上 這時你個github就會出現一個檔案 點開photp.png,就會出現你上傳的圖片,複製網頁的網址 第三步:建立一個  .md  檔案,

本地檔案到hdfs上

package com.yc.hadoop.hdfs; import java.net.URI; import java.util.Scanner; import org.apache.hadoop.conf.Configuration; import org.apache.

robotframework+selenium2library之上本地檔案

針對將本地的檔案上傳到測試系統,selenium2library提供了一個關鍵詞 choose file 官方給定的解釋如下: Source: Selenium2Library <test library> Arguments: [ locator | file

關於富文字kindeditor中上本地圖片成功後獲取到的圖片路徑是相對路徑修改為絕對路徑

找到kindeditor外掛kindeditor-all.js有的或者是kindeditor.js,找到urltype的設定, K.options = {     designMode : true,

遠端桌面撥號VPS如何上本地檔案

VPS可以執行程式,掛遊戲等,就算本機電腦關了,也不會斷開,我們經常需要將本地電腦上的檔案傳到vps上來使用 VPS如何上傳本地檔案教程 1.開始-執行,輸入mstsc,點確定 2.輸入購買的賬號,點選選項 3.選擇本地資源,然後點選詳細資訊 4.點一下驅動器左邊的+,然後在裡面選擇你要上傳的檔案是

大資料學習——上本地檔案到叢集根目錄下

TestHDFS.java package cn.itcast.hdfs; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem

github本地專案

1、首先建立一個新專案,編輯專案名稱和專案描述 2、進入如下頁面 此時我用vue-cli先建立好了一個專案 —— myWeb 3、通過webstorm開啟專案在命令列中進行操作,或者使用git bash,進行以下操作: 【1】首先初始化git,建立一個本地