gibney.org
:
Technology
:
Programming
:
Git
(Entry Nr. 436, by user 1 |
edit
)
Create a .git repo: <br>git init <br> <br>Update the repo: <br>git add .; git commit -a; <br> <br>Look at the history: <br>git log <br> <br>With diffs: <br>git log --stat <br> <br>Look at the differences between a repo at ssh://some/where and the repo in the current dir: <br>git fetch ssh://some/where somebranch; <br>git diff ..FETCH_HEAD; <br>git log -p ...FETCH_HEAD <br> <br>To merge it: <br>git merge FETCH_HEAD <br> <br>To not merge it: <br>Next fetch will overwrite FETCH_HEAD <br> <br>Maybe useful: <br>git remote add remote-name ssh://some/where <br>then git fetch remote-name will fetch their branches into remote-name/*
Create a new entry at this position