Skip to content
created by Aha00aAha00a at 2013-06-21
last modified by Aha00aAha00a at 2025-06-18
revision: 50

Git

Software Application

1. Commands

git config http.postBuffer 2000000000

git rev-parse HEAD

git checkout master
git rebase upstream/master
git fetch upstream
git merge upstream/master

git remote -v
git remote add upstream https://github.com/nativebinary/java-common.git
git remote set-url origin https://github.com/aha00a/somewhere

git rm somethingToRemove.txt --cached

1.1. Add Tag using DateTime

git tag vdate +%Y%m%dT%H%M

--2022-07-25

1.2. Revert

git reset --soft HEAD~
git reset HEAD^ --hard

2. svn export equivalent

git checkout-index --prefix=git-export-dir/ -a

이때 path separator(/ or \)를 꼭 붙여주자. --2019-01-22

5. See Also

5.3. Twin Pages

5.4. Similar Pages

Similar pages by cosine similarity. Words after page name are term frequency.

  • Same Wiki
    • 79.17% ProGitChapter2 git(39:72), remote(3:6), config(2:7), checkout(3:5), github(3:5), tag(3:5), origin(2:6), add(3:3), head(3:3), 커밋(1:5)
    • 65.97% ProGit git(39:8), pro(1:5), scm(2:1), url(2:1), name(1:1), 있다(1:1)
    • 57.10% ProGitChapter7 git(39:47), head(3:13), reset(2:13), merge(1:13), 커밋(1:11), checkout(3:6), add(3:4), master(4:2), hard(1:5), rebase(1:5)
    • 55.98% ProGitChapter5 git(39:32), master(4:17), merge(1:10), github(3:3), 있다(1:5), checkout(3:2), cherry(1:4), 커밋(1:4), add(3:1), remote(3:1)
    • 54.78% GitConfig git(39:7), config(2:6), github(3:1), aha00a(1:2), from(1:1), name(1:1), set(1:1)
    • 46.23% GitCredential git(39:16), credential(1:14), config(2:11), scm(2:1), from(1:1), local(1:1), 다시(1:1), 있다(1:1), 한번(1:1)
    • 45.77% Distributed Version Control System git(39:1), system(2:1), version(2:1), control(1:1), distributed(1:1)
    • 45.28% GitHub git(39:7), github(3:7), time(2:4), hub(1:5), pages(4:1), related(4:1), date(3:2), tag(3:2), web(2:3), name(1:4)
    • 33.93% Aws CodeCommit git(39:5), code(1:3), clone(2:1), url(2:1), control(1:1), credential(1:1)
  • Sister Wikis
    • 44.44% Millpoo:Git git(39:11), name(1:6), checkout(3:2), clone(2:2), origin(2:2), url(2:1), merge(1:2), remove(1:2), repository(1:1), 브랜치(1:1)

5.5. Adjacent Pages

Control
≤ 32
all
1.0x
1.0x
80
-120
ON
Metrics
Nodes(visible/total)0/0
Links(visible/total)0/0
Avg degree0.00
Depth coverage0
Queue(fetch/graph)0 / 0
Zoom(scale)1.00x
Ctrl/⌘ + Scroll: Zoom
Root 1-hop 2-hop+