git
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
git [2021/10/15 17:32] – renaming branches rjt | git [2022/03/03 22:54] – [Examples] cli tag rjt | ||
---|---|---|---|
Line 11: | Line 11: | ||
- Next you need to change what is set as the default. Dunno how to do this with just Git, but with [[Gitea]] (and [[Github]]) you can just do this in the web interface (settings > branches ...). | - Next you need to change what is set as the default. Dunno how to do this with just Git, but with [[Gitea]] (and [[Github]]) you can just do this in the web interface (settings > branches ...). | ||
- To delete the old branches you're not going to use anymore: | - To delete the old branches you're not going to use anymore: | ||
- | * If you're using something like [[Gitea]] or [[Github]] | + | * If you're using something like [[Gitea]] or [[Github]]: |
- | * then use '' | + | * You can delete the old branch from their UI, from the ' |
+ | * Then use '' | ||
* If you want to do it from the command line apparantly: | * If you want to do it from the command line apparantly: | ||
- '' | - '' | ||
- '' | - '' | ||
+ | - Finally, we need to reset the HEAD: '' | ||
===== .gitignore ===== | ===== .gitignore ===== | ||
Line 71: | Line 73: | ||
</ | </ | ||
- | {{tag> | + | {{tag>cli guide software}} |
git.txt · Last modified: 2022/03/03 22:58 by rjt