Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
project:git [2017/08/04 15:51] over23 project : git - cleaned, ToAdd : pull requests |
project:git [2017/11/14 07:36] (current) licho |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| - | {{ project:git_data_transport.png}} | + | {{project:git_data_transport.png}} |
| * https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ | * https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ | ||
| * https://git-scm.com/book/cs/v1/%C3%9Avod-Prvn%C3%AD-nastaven%C3%AD-syst%C3%A9mu-Git - cz dokumentace ke gitu | * https://git-scm.com/book/cs/v1/%C3%9Avod-Prvn%C3%AD-nastaven%C3%AD-syst%C3%A9mu-Git - cz dokumentace ke gitu | ||
| Line 113: | Line 114: | ||
| # git commit | # git commit | ||
| - | ====== Howto connect GitHub to IRC ====== | + | ===== Notes - userful commands, ToDo ===== |
| - | * ToDo | + | <code> |
| - | ====== Howto create project WebPage directly by GitHub ====== | + | git add classes/system/linux/system/mon.yml -- prida jmenovite soubor |
| - | * ToDo | + | git add -A --stages All |
| + | git add . --stages new and modified, without deleted | ||
| + | git add -u --stages modified and deleted, without new | ||
| + | git commit -a -m "Addition of ext interface to monitoring server node, added system.linux.system.mon" | ||
| + | git log --graph | ||
| + | git push origin HEAD:monitoring | ||
| + | |||
| + | git checkout . --zahodi lokalni zmeny - pred add | ||
| + | git reset -- zahodi zmeni v indexu, taky zahodi nepushnute commity | ||
| + | git clean -f --zahodit untracked soubory - nove soubory, generovane soubory | ||
| + | </code> | ||