git
.gitignore //不上傳檔案
git --version //檢查版本
git init //初始化git
git add [--all] //加入檔案
git add -f [filename] //強制加入檔案
git commit -m "mag" //建立儲存檔
git config user.name "name" //使用者名稱
git config user.email "email@gmail.com" //使用者信箱
git remote add origin [url] //加入連線
git remote add [tagname] [url] //新增團隊連線
git remote -v //檢視你已經設定好的遠端版本庫
git push -u origin master //第一次上傳
git push -u //第n次上傳
git push --force //強制上傳
git checkout [file] //還原到修改前的儲存檔
git clone [url] //下載別人的專案
git reset [hash] //選擇還原點
git reset HEDE [filename] //將檔案從暫存檔中拿掉
git pull origin //更新專案(他人上傳之專案)
git pull [tagname] master //與團隊同步
git status //顯示狀態(add file)
git log //顯示已記錄儲存檔(commit)
git rm --cache [date] -r //刪除cache(刪除檔案)
git credential-wincred erase //清除帳號
protocol=https
host=github.com
git stash //加入暫存
git stash pop //恢復暫存
git stash drop //刪除暫存,未指定刪除最新一筆的操作
git stash clear //刪除全部暫存
git init
> git add [--all]
> git commit -m "msg"
> git push -u [tagname] master
git add [--all]
> git commit -m "msg"
> git push -u [tagname]
SQL MongoDB 說明 database database 資料庫 table collection
Oct 7, 2020專案架構 com.zygroup.ilnd config CustomerConfig 第一個資料庫Config ProductConfig 第二個資料庫Config model 第一個資料表
Oct 5, 2020/pom.xml <!-- https://github.com/google/guava --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>28.1-jre</version> </dependency> Guava is a set of core Java libraries from Google that includes new collection types (such as multimap and multiset), immutable collections, a graph library, and utilities for concurrency, I/O, hashing, caching, primitives, strings, and more! It is widely used on most Java projects within Google, and widely used by many other companies as well. https://github.com/google/guava
Mar 5, 2020{home_url}/.m2/settings.xml <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <activeProfiles> <activeProfile>github</activeProfile> </activeProfiles>
Feb 26, 2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up