meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:tools:git [2026/06/10 12:33] – titannet | linux:tools:git [2026/06/10 12:54] (current) – titannet | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Git ====== | ====== Git ====== | ||
| + | [[https:// | ||
| ===== Workflow ===== | ===== Workflow ===== | ||
| - | | git init . | | | + | | '' |
| - | | git branch | + | | '' |
| - | | git add -A | | | + | | '' |
| - | | git commit -am ' | + | | '' |
| - | | git pull [origin] [branch] | | | + | | '' |
| - | | git push < | + | | '' |
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| | | | | | | | | ||
| + | <file bash .gitignore> | ||
| + | file_to_ignore | ||
| + | folder_to_ignore/ | ||
| + | |||
| + | *.tmp | ||
| + | my?ile.txt | ||
| + | log[0-9].txt | ||
| + | !important.tmp #negate | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | | ||
| + | |||
| + | |||
| + | ==== Branch and merge ==== | ||
| + | |||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||