git for github步驟
[email protected] MINGW64 ~
//初始化
$ git init
Initialized empty Git repository in C:/Users/uname/.git/
//名字
[email protected] MINGW64 ~ (master)
$ git config --global user.name '***'
//email
[email protected] MINGW64 ~ (master)
$ git config --global user.email ******@qq.com
[email protected] MINGW64 ~ (master)
$ cd d
bash: cd: d: No such file or directory
[email protected] MINGW64 ~ (master)
$ cd d:
//建立檔案
[email protected] MINGW64 /d
$ mkdir test
[email protected] MINGW64 /d
$ cd test:
bash: cd: test:: No such file or directory
[email protected] MINGW64 /d
$ cd test
//顯示檔案
[email protected] MINGW64 /d/test
$ git status
fatal: Not a git repository (or any of the parent directories): .git
[email protected] MINGW64 /d/test
$ git status
fatal: Not a git repository (or any of the parent directories): .git
//新增檔案到快取(還不知道原理)
[email protected] MINGW64 /d/test
$ git add
fatal: Not a git repository (or any of the parent directories): .git
[email protected] MINGW64 /d/test
$ git clone https://github.com/ifmiss/test.git
Cloning into 'test'...
Fatal: AggregateException encountered.
Username for 'https://github.com': pro
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/ifmiss/test.git/'
[email protected] MINGW64 /d/test
$ git clone https://github.com/ifmiss/test.git
Cloning into 'test'...
Fatal: AggregateException encountered.
Username for 'https://github.com': *********@qq.com
remote: Repository not found.
fatal: repository 'https://github.com/ifmiss/test.git/' not found
//從github上對應的專案clone
[email protected] MINGW64 /d/test
$ git clone https://github.com/*********/SpringMvc_easyui
Cloning into 'SpringMvc_easyui'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
[email protected] MINGW64 /d/test
$ git status
fatal: Not a git repository (or any of the parent directories): .git
[email protected] MINGW64 /d/test
$ cd SpringMvc_easyui
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git status
On branch master
Initial commit
Untracked files:
(use "git add <file>..." to include in what will be committed)
SpringMvc_easyui.txt
nothing added to commit but untracked files present (use "git add" to track)
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git add .
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: SpringMvc_easyui.txt
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git commit -am '測試test'
[master (root-commit) bd9e9db] 測試test
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 SpringMvc_easyui.txt
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git status
On branch master
Your branch is based on 'origin/master', but the upstream is gone.
(use "git branch --unset-upstream" to fixup)
nothing to commit, working tree clean
//反正有用不知道幹啥
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git remote -v
origin https://github.com/*********/SpringMvc_easyui (fetch)
origin https://github.com/*********/SpringMvc_easyui (push)
//推送上去
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git push origin master
Fatal: AggregateException encountered.
Username for 'https://github.com': *********@qq.com
Counting objects: 3, done.
Writing objects: 100% (3/3), 222 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/*********/SpringMvc_easyui
* [new branch] master -> master
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
springui/
nothing added to commit but untracked files present (use "git add" to track)
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git add .
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git commit -am 'SpringMvc EasyUI'
[master ad63253] SpringMvc EasyUI
439 files changed, 73403 insertions(+)
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git remote -v
origin https://github.com/*********/SpringMvc_easyui (fetch)
origin https://github.com/*********/SpringMvc_easyui (push)
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git push origin master
Fatal: HttpRequestException encountered.
Username for 'https://github.com': *********@qq.com
Counting objects: 372, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (364/364), done.
Writing objects: 4% (15/372)
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git push origin master
Fatal: HttpRequestException encountered.
Username for 'https://github.com': *********@qq.com
Counting objects: 372, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (364/364), done.
Writing objects: 4% (15/372)
git config --global http.postBuffer 524288000
//解決上傳靜止不動問題
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git config --global http.postBuffer 524288000
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git push origin master
Fatal: HttpRequestException encountered.
Username for 'https://github.com': *********@qq.com
Counting objects: 372, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (364/364), done.
Writing objects: 100% (372/372), 6.10 MiB | 0 bytes/s, done.
Total 372 (delta 165), reused 0 (delta 0)
To https://github.com/*********/SpringMvc_easyui
* [new branch] master -> master
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ To https://github.com/*********/SpringMvc_easyui
bash: To: command not found
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ * [new branch] master -> master
bash: SpringMvc_easyui.txt: command not found
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$
[email protected] MINGW64 /d/test/SpringMvc_easyui (master)
$ git push origin master
Fatal: HttpRequestException encountered.
Username for 'https://github.com': *********@qq.com
Counting objects: 372, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (364/364), done.
Writing objects: 100% (372/372), 6.11 MiB | 0 bytes/s, done.
Total 372 (delta 164), reused 0 (delta 0)
To https://github.com/*********/SpringMvc_easyui
bd9e9db..ad63253 master -> master
相關推薦
git for github步驟
[email protected] MINGW64 ~ //初始化 $ git init Initialized empty Git repository in C:/Users/uname/.git/ //名字 [email protect
git連線github步驟
1、下載git工具(http://www.bootcss.com/p/git-guide/#rd)。 2、安裝git,安裝完成之後再git目錄下找到git bash,如果能開啟彈出一個視窗表示安裝成功了。 3、安裝完成之後在git bash中輸入命令
同時使用Git for Windows命令列和TortoiseGit工具 都可提交至github
目錄 1、應用場景 因為很多人習慣了使用Git命令列方式進行程式碼提交,現在出現了很多Git提交的GUI工具,如大家經常使用的(GitHub for Desktop、Source Tree、TortoiseGit) 具體使用可以參
Introduction to Git and GitHub for Python Developers
Have you ever worked on a Python project that stopped working after you made a change here or a PEP-8 cleanup there, and you weren’t quite sure how to g
新手Git for Windows 的安裝、配置 及 GitHub中專案下載
一、Git安裝 1. 下載最新版本雙擊執行 2. 安裝過程 在這裡選擇 Use Git from Git Bash only (最安全的選項,表示僅能在git bash裡面使用git命令,
git-將原生代碼上傳github步驟(附程式碼)
git下載地址:https://git-scm.com/downloads 使用git時是有兩個倉庫的(repertory),本地一個倉庫,用於存放本地需要上傳的程式碼和一些配置資訊。github上一個倉庫,用於在網路端儲存你的程式碼。 下面是原理圖: 圖片來源於:http://www
windows下面用git for windows 分分鐘教你怎麼上傳檔案到github
怎麼上傳檔案到github 剛才重新整理了下csdn,看到我竟然有排名了,19372名,我插,好興奮,終於不是千里之外了,看到了這個數字,我要繼續加油,下一個目標衝刺到前一萬名去,題外話。 上傳檔案到github,前提得有github的賬
Git快速提交Github步驟
前幾天, 剛重灌了一下系統, 本地的什麼東西都還原了! 所以, 想總結一下本地Git配置和使用Git命令來提交到Github程式碼託管平臺上! 1. 本地Git安裝和配置 先從https://git-scm.com/downloads Git for
Git連線GitHub詳細步驟
首先 Git和Github是不同的東西! 如果分不清Git 和 Github的朋友,建議您百度,下面就不用看了。 下面正式開始 想看視訊的朋友,請點選:http://www.le.com/ptv/vplay/24744949.html?ch=baidu_s (不是我的視訊
本地 Git 與 GitHub 服務器建立連接
keygen src .com logs rsa img blog 生成 image 安裝git; 生成新的 SSH 秘鑰。 ssh-keygen -t rsa -C "郵箱" 添加 SSH 公鑰到 GitHub
git hub 操作步驟備忘
title 終端 gen gmail fetch 新版本 ble 備忘 ber 我是在碼雲上申請了 github賬號。用法和官方的一樣,只不過碼雲可以設置私有項目。 ------------------------------------------------------
Python開發【筆記】:git&github 快速入門
精神 源代碼 公開 平臺 per 其中 http cvs tro github入門 簡介: 很多人都知道,Linus在1991年創建了開源的Linux,從此,Linux系統不斷發展,已經成為最大的服務器系統軟件了。 Linus雖然創建了Linux,但Linux的壯大
使用git和github管理項目代碼
你是 -s 同時 查看 現在 後來 為我 一次 官方 以前不知道使用代碼管理工具,最後寫的一些東西都沒有了,由於硬盤壞了或者不小心格式化了之類的,後來使用了Git 和Github來托管自己的代碼和讀書筆記方便了不少,到哪裏只要有網就可以把自己的東西拷貝下來繼續使用。 我這裏
關於git和github
config user http 簡單使用 git 添加 官網下載 教程 nsh 1.github的簡單使用教程:http://www.jianshu.com/p/f58e38f38594 記得安裝之前要安裝git軟件 官網下載即可。 然後要使用gitbash 添加自己的郵
mac使用git管理Github
pop penssh terminal them posit blog don ucc text 工欲善其事,必先利其器。 在OS X Yosemite 10.10.3安裝最新版本號Xcode。在terminal下能夠發現git已經被安裝。 ~ mesut$
Git和Github簡單教程
發布 code workspace align cal 團隊合作 github init 出現 網絡上關於Git和GitHub的教程不少,但是這些教程有的命令太少不夠用,有的命令太多,使得初期學習的時候需要額外花不少時間在一些當前用不到的命令上。這篇文章主要的目標是用較少的
Android Studio中Git和GitHub使用詳解
可能 必須 窗口 gin 擁有 說明 詳細 對話 發現 一、Git和GitHub簡述 1.Git 分布式版本控制系統,最先使用於Linux社區,是一個開源免費的版本控制系統,功能類似於SVN和CVS。Git與其他版本管理工具最大的區別點和優點就是分布式;
Git & GitHub
targe post 文件夾 div 分支 ast 輸入框 log id_rsa Git & GitHub 01、創建GitHub賬號 請點擊標題鏈接,閱讀官網幫助 02、創建代碼倉庫 請點擊標題鏈接,閱讀官網幫助 03、安裝Git 註:Git官網下載
從Git到GitHub,詳細教程
文件夾 想象 可能 機制 安裝完成 公開 style run 離線 眾所周知,一個稍微有點規模的項目,都不可能是一個人單打獨鬥完成的(能完成的大神別打我),所以,一個高效的項目團隊就需要一個NB的工具來進行有效的交流(曾經有人問我企鵝不就可以嗎,我竟無言以對),今天就把我學
用git從github網站上下載代碼的方式
clone 下載 one image cnblogs src bsp ima 單擊 原本單擊如下下載按鈕即可 但有時候github異常,該按鈕無效,可以使用如下方法: 1.復制url,如https://github.com/ulli-kroll/mt7610u 2.進